Tweak arguments for <python-2.6 compat.
authorZac Medico <zmedico@gentoo.org>
Thu, 9 Jul 2009 07:04:28 +0000 (07:04 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 9 Jul 2009 07:04:28 +0000 (07:04 -0000)
svn path=/main/trunk/; revision=13811

pym/_emerge/main.py

index 0b908fec5d17c1c15abd304436d8192d602d8384..abbaf2301bd5316dc78a2c0791a24738cfba9fa5 100644 (file)
@@ -566,8 +566,8 @@ def parse_opts(tmpcmdline, silent=False):
                args = [myopt]
                if shortopt is not None:
                        args.append(shortopt)
-               parser.add_option(*args,
-                       dest=myopt.lstrip("--").replace("-", "_"), **kwargs)
+               parser.add_option(dest=myopt.lstrip("--").replace("-", "_"),
+                       *args, **kwargs)
 
        tmpcmdline = insert_optional_args(tmpcmdline)