diff options
author | Doug Hellmann <doug.hellmann@dreamhost.com> | 2012-06-01 10:37:13 -0400 |
---|---|---|
committer | Doug Hellmann <doug.hellmann@dreamhost.com> | 2012-06-01 10:37:13 -0400 |
commit | cb6222fec44a62294c8e951bebae93fbdc9c8047 (patch) | |
tree | 91d997ebef8831df7f99727ea65fb27c668efefb /cliff/help.py | |
parent | 9059e9538a449f0fc36ad4b43cadc6bd8a2f1e0e (diff) | |
download | cliff-tablib-cb6222fec44a62294c8e951bebae93fbdc9c8047.tar.gz |
pep8 cleanup
Diffstat (limited to 'cliff/help.py')
-rw-r--r-- | cliff/help.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cliff/help.py b/cliff/help.py index 1e4793e..cd427d7 100644 --- a/cliff/help.py +++ b/cliff/help.py @@ -39,7 +39,10 @@ class HelpCommand(Command): def run(self, parsed_args): if parsed_args.cmd: try: - cmd_factory, cmd_name, search_args = self.app.command_manager.find_command(parsed_args.cmd) + the_cmd = self.app.command_manager.find_command( + parsed_args.cmd, + ) + cmd_factory, cmd_name, search_args = the_cmd except ValueError: # Did not find an exact match cmd = parsed_args.cmd[0] |