summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-02-01 21:13:17 +0000
committerZac Medico <zmedico@gentoo.org>2010-02-01 21:13:17 +0000
commit3ca019fd65efcbc7f8de50630782429b29cf7a63 (patch)
tree1f4ca051c16b7217bb2ce60e70a38d9d924a35fa /pym
parentcd967be0bcf7d41813533bcc602693f328014a4b (diff)
downloadportage-3ca019fd65efcbc7f8de50630782429b29cf7a63.tar.gz
portage-3ca019fd65efcbc7f8de50630782429b29cf7a63.tar.bz2
portage-3ca019fd65efcbc7f8de50630782429b29cf7a63.zip
Simplify the conditional that triggers calculation of A and AA variables.
svn path=/main/trunk/; revision=15310
Diffstat (limited to 'pym')
-rw-r--r--pym/portage/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 127babe60..eae469ac9 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -7195,7 +7195,7 @@ def doebuild(myebuild, mydo, myroot, mysettings, debug=0, listonly=0,
mydo not in ("digest", "manifest") and "noauto" not in features)
alist = mysettings.configdict["pkg"].get("A")
aalist = mysettings.configdict["pkg"].get("AA")
- if need_distfiles or alist is None or aalist is None:
+ if alist is None or aalist is None:
# Make sure we get the correct tree in case there are overlays.
mytree = os.path.realpath(
os.path.dirname(os.path.dirname(mysettings["O"])))