Sort the --info USE flags for bug #159161.
authorZac Medico <zmedico@gentoo.org>
Sat, 30 Dec 2006 03:15:10 +0000 (03:15 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 30 Dec 2006 03:15:10 +0000 (03:15 -0000)
svn path=/main/trunk/; revision=5420

bin/emerge

index 78060852940ee2e240931614bef0224c59b2ab76..17a54cbc5947bc09776a186b6ac986effd6fc3ab 100755 (executable)
@@ -4232,6 +4232,8 @@ def action_info(settings, trees, myopts, myfiles):
                                        for f in list(use):
                                                if f.startswith(flag_prefix):
                                                        use.remove(f)
+                               use = list(use)
+                               use.sort()
                                print 'USE="%s"' % " ".join(use),
                                for varname in use_expand:
                                        myval = settings.get(varname)