From: Zac Medico Date: Tue, 2 Mar 2010 20:05:00 +0000 (-0000) Subject: Simplify the conditional that triggers calculation of A and AA variables. X-Git-Tag: v2.1.8~177 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5144fb3dbfb02b939b3e8e5d139aae11c78df075;p=portage.git Simplify the conditional that triggers calculation of A and AA variables. (trunk r15310) svn path=/main/branches/2.1.7/; revision=15545 --- diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 8aece25b9..2f2c8ff27 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"])))