summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2009-09-05 10:00:22 +0000
committerFabian Groffen <grobian@gentoo.org>2009-09-05 10:00:22 +0000
commit2b68c711bc37fe45c940a498227f2c367335b659 (patch)
tree80e87342519580883bf9c7d13f6256c1aa5e1322 /pym
parent8f272835815d3ceee91fd1b6fefdc74b2d2d3d70 (diff)
downloadportage-2b68c711bc37fe45c940a498227f2c367335b659.tar.gz
portage-2b68c711bc37fe45c940a498227f2c367335b659.tar.bz2
portage-2b68c711bc37fe45c940a498227f2c367335b659.zip
Fix usage of VDB_PATH
svn path=/main/trunk/; revision=14187
Diffstat (limited to 'pym')
-rw-r--r--pym/portage/dbapi/vartree.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py
index c8a045dc4..23710cd2e 100644
--- a/pym/portage/dbapi/vartree.py
+++ b/pym/portage/dbapi/vartree.py
@@ -1069,7 +1069,7 @@ class vardbapi(dbapi):
return list(self._iter_match(mydep,
self.cp_list(mydep.cp, use_cache=use_cache)))
try:
- curmtime = os.stat(self.root+VDB_PATH+"/"+mycat).st_mtime
+ curmtime = os.stat(os.path.join(self.root, VDB_PATH, mycat)).st_mtime
except (IOError, OSError):
curmtime=0