Fix typo. (trunk r10631)
authorZac Medico <zmedico@gentoo.org>
Tue, 10 Jun 2008 02:14:39 +0000 (02:14 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 10 Jun 2008 02:14:39 +0000 (02:14 -0000)
svn path=/main/branches/2.1.2/; revision=10632

pym/portage.py

index 78297d989166af878849af5163bd36edb42ee263..045fa1eaa57f880467add02e6c4283bef7df8e9b 100644 (file)
@@ -7336,8 +7336,7 @@ class vardbapi(dbapi):
                                # Empty path is a code used to represent empty contents.
                                self._add_path("", pkg_hash)
                        for x in contents:
-                               relative_path = x[root_len:]
-                               self._add_path(x, pkg_hash)
+                               self._add_path(x[root_len:], pkg_hash)
                        self._vardb._aux_cache["modified"].add(cpv)
 
                def _add_path(self, path, pkg_hash):