summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-07-09 07:04:28 +0000
committerZac Medico <zmedico@gentoo.org>2009-07-09 07:04:28 +0000
commitc7188fc98450630f7b8a81f80b1ebc0d6cc7da78 (patch)
treee8f1c8fd021ff571c3ada9945dc60e594a41653f
parent66ef1c37956910f350ffdb4d0dbb5e8288c23e4a (diff)
downloadportage-c7188fc98450630f7b8a81f80b1ebc0d6cc7da78.tar.gz
portage-c7188fc98450630f7b8a81f80b1ebc0d6cc7da78.tar.bz2
portage-c7188fc98450630f7b8a81f80b1ebc0d6cc7da78.zip
Tweak arguments for <python-2.6 compat.
svn path=/main/trunk/; revision=13811
-rw-r--r--pym/_emerge/main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/_emerge/main.py b/pym/_emerge/main.py
index 0b908fec5..abbaf2301 100644
--- a/pym/_emerge/main.py
+++ b/pym/_emerge/main.py
@@ -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)