aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorBrian Harring <ferringb@gmail.com>2011-08-30 22:10:36 -0700
committerBrian Harring <ferringb@gmail.com>2011-08-30 22:37:33 -0700
commit819a28034ffc140d1ff82566c8779c40893e1afd (patch)
tree2a7e8ef7cb582e598bafa33c340e1f47768ca2e6 /bin
parentException cleanup (diff)
downloadpkgcore-819a28034ffc140d1ff82566c8779c40893e1afd.tar.gz
pkgcore-819a28034ffc140d1ff82566c8779c40893e1afd.tar.bz2
pkgcore-819a28034ffc140d1ff82566c8779c40893e1afd.zip
use a sane name; argparser, rather than argparse_parser
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pwrapper2
-rwxr-xr-xbin/pwrapper_installed2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/pwrapper b/bin/pwrapper
index 60c60ffb6..a51ee9798 100755
--- a/bin/pwrapper
+++ b/bin/pwrapper
@@ -27,7 +27,7 @@ except ImportError:
if __name__ == '__main__':
name = osp.basename(sys.argv[0]).replace("-", "_")
script = modules.load_module('pkgcore.scripts.%s' % (name,))
- subcommands = getattr(script, 'argparse_parser', None)
+ subcommands = getattr(script, 'argparser', None)
if subcommands is None:
subcommands = getattr(script, 'commandline_commands', None)
if subcommands is None:
diff --git a/bin/pwrapper_installed b/bin/pwrapper_installed
index 4a1187b08..4d8ee404b 100755
--- a/bin/pwrapper_installed
+++ b/bin/pwrapper_installed
@@ -28,7 +28,7 @@ if __name__ == '__main__':
raise
sys.stderr.write('Add --debug to the commandline for a traceback.\n')
sys.exit(1)
- subcommands = getattr(script, 'argparse_parser', None)
+ subcommands = getattr(script, 'argparser', None)
if subcommands is None:
subcommands = getattr(script, 'commandline_commands', None)
if subcommands is None: