summaryrefslogtreecommitdiffstats
path: root/bin/emaint
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-09-05 00:07:11 -0700
committerZac Medico <zmedico@gentoo.org>2010-09-05 00:07:11 -0700
commit4a0bdc5f9205a9c03ba2a13f34b960d524f98177 (patch)
tree8a5dbcd0fdd6964d6f4fb6f6b1e9cf3753725de3 /bin/emaint
parent738ee08c420b5b9229b48595b7acd9e4dd470e74 (diff)
downloadportage-4a0bdc5f9205a9c03ba2a13f34b960d524f98177.tar.gz
portage-4a0bdc5f9205a9c03ba2a13f34b960d524f98177.tar.bz2
portage-4a0bdc5f9205a9c03ba2a13f34b960d524f98177.zip
Remove redundant initial os.sep argument to os.path.join() calls
involving EROOT.
Diffstat (limited to 'bin/emaint')
-rwxr-xr-xbin/emaint4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/emaint b/bin/emaint
index f11829897..1b1df71c1 100755
--- a/bin/emaint
+++ b/bin/emaint
@@ -389,7 +389,7 @@ class VdbKeyHandler(object):
self.keys = ["HOMEPAGE", "SRC_URI", "KEYWORDS", "DESCRIPTION"]
for p in self.list:
- mydir = os.path.join(os.sep, portage.settings["EROOT"], portage.const.VDB_PATH, p)+os.sep
+ mydir = os.path.join(portage.settings["EROOT"], portage.const.VDB_PATH, p)+os.sep
ismissing = True
for k in self.keys:
if os.path.exists(mydir+k):
@@ -406,7 +406,7 @@ class VdbKeyHandler(object):
errors = []
for p in self.missing:
- mydir = os.path.join(os.sep, portage.settings["EROOT"], portage.const.VDB_PATH, p)+os.sep
+ mydir = os.path.join(portage.settings["EROOT"], portage.const.VDB_PATH, p)+os.sep
if not os.access(mydir+"environment.bz2", os.R_OK):
errors.append("Can't access %s" % (mydir+"environment.bz2"))
elif not os.access(mydir, os.W_OK):