summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-06-10 02:13:59 +0000
committerZac Medico <zmedico@gentoo.org>2008-06-10 02:13:59 +0000
commit594bd45085f2e32f2dfb3c463a8ee8e56c2c1779 (patch)
treed4ffec6d4616e7efd39690e9722ce1feabe060f5
parent813298f674cff918c1b932b69cc64cfb3da3a633 (diff)
downloadportage-594bd45085f2e32f2dfb3c463a8ee8e56c2c1779.tar.gz
portage-594bd45085f2e32f2dfb3c463a8ee8e56c2c1779.tar.bz2
portage-594bd45085f2e32f2dfb3c463a8ee8e56c2c1779.zip
Fix typo.
svn path=/main/trunk/; revision=10631
-rw-r--r--pym/portage/dbapi/vartree.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py
index f07cc5cdd..4c67dfa05 100644
--- a/pym/portage/dbapi/vartree.py
+++ b/pym/portage/dbapi/vartree.py
@@ -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):