expand_set_arguments: fix expansion breakage
authorZac Medico <zmedico@gentoo.org>
Wed, 13 Mar 2013 15:10:03 +0000 (08:10 -0700)
committerZac Medico <zmedico@gentoo.org>
Wed, 13 Mar 2013 15:10:03 +0000 (08:10 -0700)
This broke in commit 16e1f2185bb7ed36d3119b29a50ca0ff75fa8b71.

pym/_emerge/actions.py

index d7d248af2fe53f56a4570caac7a8131917a299ed..008a5d57986de8999ba0ea559cecd864fc549552 100644 (file)
@@ -3435,7 +3435,7 @@ def expand_set_arguments(myfiles, myaction, root_config):
                                elif not set_atoms:
                                        print("emerge: '%s' is an empty set" % s)
                                else:
-                                       newargs.append(SETPREFIX+s)
+                                       newargs.extend(set_atoms)
                                for e in sets[s].errors:
                                        print(e)
                else: