summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-09-14 10:08:52 -0700
committerZac Medico <zmedico@gentoo.org>2011-09-14 10:08:52 -0700
commit3db6f6e783e5bef8240c04b8a6c6a8b7983572a5 (patch)
tree881d3c039c5cc270910aa9e54e7dd44a3fe33ed6
parent275134399b75d5f6740954c942dbb3921b9828e8 (diff)
downloadportage-3db6f6e783e5bef8240c04b8a6c6a8b7983572a5.tar.gz
portage-3db6f6e783e5bef8240c04b8a6c6a8b7983572a5.tar.bz2
portage-3db6f6e783e5bef8240c04b8a6c6a8b7983572a5.zip
digestgen: remove duplicate 'mytree' variables
-rw-r--r--pym/portage/package/ebuild/digestgen.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/pym/portage/package/ebuild/digestgen.py b/pym/portage/package/ebuild/digestgen.py
index 325fc52b1..d4146dd38 100644
--- a/pym/portage/package/ebuild/digestgen.py
+++ b/pym/portage/package/ebuild/digestgen.py
@@ -17,7 +17,6 @@ from portage.dep import use_reduce
from portage.exception import InvalidDependString, FileNotFound, \
PermissionDenied, PortagePackageException
from portage.localization import _
-from portage.manifest import Manifest
from portage.output import colorize
from portage.package.ebuild.fetch import fetch
from portage.util import writemsg, writemsg_stdout
@@ -108,8 +107,6 @@ def digestgen(myarchives=None, mysettings=None, myportdb=None):
continue
if missing_files:
- mytree = os.path.realpath(os.path.dirname(
- os.path.dirname(mysettings["O"])))
for myfile in missing_files:
uris = set()
all_restrict = set()
@@ -189,8 +186,6 @@ def digestgen(myarchives=None, mysettings=None, myportdb=None):
os.path.join(mysettings["DISTDIR"], filename)):
auto_assumed.append(filename)
if auto_assumed:
- mytree = os.path.realpath(
- os.path.dirname(os.path.dirname(mysettings["O"])))
cp = os.path.sep.join(mysettings["O"].split(os.path.sep)[-2:])
pkgs = myportdb.cp_list(cp, mytree=mytree)
pkgs.sort()