Simplify the conditional that triggers calculation of A and AA variables.
authorZac Medico <zmedico@gentoo.org>
Tue, 2 Mar 2010 20:05:00 +0000 (20:05 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 2 Mar 2010 20:05:00 +0000 (20:05 -0000)
(trunk r15310)

svn path=/main/branches/2.1.7/; revision=15545

pym/portage/__init__.py

index 8aece25b9923ab708bacbd3970fd9d5896807949..2f2c8ff27e75b2944260a94eb346f123b4fc2781 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"])))