diff options
author | Fabian Groffen <grobian@gentoo.org> | 2009-09-05 10:00:22 +0000 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2009-09-05 10:00:22 +0000 |
commit | 2b68c711bc37fe45c940a498227f2c367335b659 (patch) | |
tree | 80e87342519580883bf9c7d13f6256c1aa5e1322 /pym | |
parent | 8f272835815d3ceee91fd1b6fefdc74b2d2d3d70 (diff) | |
download | portage-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.py | 2 |
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 |