diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-09-05 00:07:11 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-09-05 00:07:11 -0700 |
commit | 4a0bdc5f9205a9c03ba2a13f34b960d524f98177 (patch) | |
tree | 8a5dbcd0fdd6964d6f4fb6f6b1e9cf3753725de3 /bin | |
parent | 738ee08c420b5b9229b48595b7acd9e4dd470e74 (diff) | |
download | portage-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')
-rwxr-xr-x | bin/emaint | 4 |
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): |