projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f54cb4
)
Eliminate redundant os.sep in vardbapi.getpath().
author
Zac Medico
<zmedico@gentoo.org>
Thu, 6 May 2010 19:11:12 +0000
(12:11 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 6 May 2010 19:11:12 +0000
(12:11 -0700)
pym/portage/dbapi/vartree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/vartree.py
b/pym/portage/dbapi/vartree.py
index de583e7b5b8544d74b0300f8792df87aad024b07..5a98c7e06f0e86ad69ae8043c4226f6136d507be 100644
(file)
--- a/
pym/portage/dbapi/vartree.py
+++ b/
pym/portage/dbapi/vartree.py
@@
-870,7
+870,7
@@
class vardbapi(dbapi):
def getpath(self, mykey, filename=None):
# This is an optimized hotspot, so don't use unicode-wrapped
# os module and don't use os.path.join().
- rValue = self.root +
_os.sep +
VDB_PATH + _os.sep + mykey
+ rValue = self.root + VDB_PATH + _os.sep + mykey
if filename is not None:
# If filename is always relative, we can do just
# rValue += _os.sep + filename