Bug #485056: Fix portageq with Python <2.6.5.
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Mon, 16 Sep 2013 05:03:02 +0000 (07:03 +0200)
committerArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Mon, 16 Sep 2013 05:03:02 +0000 (07:03 +0200)
bin/portageq

index 0756cdb9c7d9d3df85e76740d05bdcef1e52e3d7..82735f1f33a8e201a263a24aedc741791464e5f3 100755 (executable)
@@ -1193,7 +1193,7 @@ def add_pquery_arguments(parser):
                                kwargs["help"] = opt_info["help"]
                        except KeyError:
                                pass
-                       arg_group.add_argument(*pargs, **kwargs)
+                       arg_group.add_argument(*pargs, **portage._native_kwargs(kwargs))
 
 
 def usage(argv):