Simplify the conditional that triggers calculation of A and AA variables.
authorZac Medico <zmedico@gentoo.org>
Mon, 1 Feb 2010 21:13:17 +0000 (21:13 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 1 Feb 2010 21:13:17 +0000 (21:13 -0000)
svn path=/main/trunk/; revision=15310

pym/portage/__init__.py

index 127babe6017d5c82216529c75594052daf01bc51..eae469ac9d3f0b3d0615311233c1a76752270423 100644 (file)
@@ -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"])))