Permalink
Browse files

have less returns to please pychecker

  • Loading branch information...
Thomas Vander Stichele
Thomas Vander Stichele committed Jan 14, 2013
1 parent 8045ecd commit f96c66672b0a674fb932562e1375f4e406f88f16
Showing with 1 addition and 2 deletions.
  1. +1 −2 command/command.py
View
@@ -356,13 +356,12 @@ def parse(self, argv):
ret = e.status
if e.output is not None:
self.stderr.write(e.output + '\n')
- return ret
except NotImplementedError:
self.debug('done with NotImplementedError')
self.parser.print_usage(file=self.stderr)
self.stderr.write(
"Use --help to get a list of commands.\n")
- return 1
+ ret = 1
# if everything's fine, we return 0

0 comments on commit f96c666

Please sign in to comment.