doebuild: fix more bug #349273
authorZac Medico <zmedico@gentoo.org>
Tue, 21 Dec 2010 17:05:01 +0000 (09:05 -0800)
committerZac Medico <zmedico@gentoo.org>
Tue, 21 Dec 2010 17:09:01 +0000 (09:09 -0800)
pym/portage/package/ebuild/doebuild.py

index 4761d3e60ea96e975b6419a5e8187758e9cf19e9..a66877e07085a37c7f1471a4457ba81a60c8c128 100644 (file)
@@ -688,9 +688,11 @@ def doebuild(myebuild, mydo, myroot, mysettings, debug=0, listonly=0,
                aalist = mysettings.configdict["pkg"].get("AA")
                if not hasattr(mydbapi, 'getFetchMap'):
                        if alist is None:
-                               alist = set()
+                               alist = ""
                        if aalist is None:
-                               aalist = set()
+                               aalist = ""
+                       alist = set(alist.split())
+                       aalist = set(aalist.split())
                elif alist is None or aalist is None or \
                        (not emerge_skip_distfiles and need_distfiles):
                        # Make sure we get the correct tree in case there are overlays.