Fix typo.
authorZac Medico <zmedico@gentoo.org>
Tue, 10 Jun 2008 02:13:59 +0000 (02:13 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 10 Jun 2008 02:13:59 +0000 (02:13 -0000)
svn path=/main/trunk/; revision=10631

pym/portage/dbapi/vartree.py

index f07cc5cdd039f414056767995b0bef5eda023112..4c67dfa05dacb7168da4efa46a08f85d986323ca 100644 (file)
@@ -865,8 +865,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):