diff options
author | Sylvain Th?nault <sylvain.thenault@logilab.fr> | 2010-08-25 15:38:52 +0200 |
---|---|---|
committer | Sylvain Th?nault <sylvain.thenault@logilab.fr> | 2010-08-25 15:38:52 +0200 |
commit | 72bd758d69263824da43ea11f83b4d3d1794a122 (patch) | |
tree | 82644b49e1418595be81a5359f68425b1a9640c1 /clcommands.py | |
parent | 4f40e0bb2aec380d883e5ac0845c85ca53950303 (diff) | |
download | logilab-common-72bd758d69263824da43ea11f83b4d3d1794a122.tar.gz |
catch exception raised by check_ergs properly
Diffstat (limited to 'clcommands.py')
-rw-r--r-- | clcommands.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clcommands.py b/clcommands.py index 1c312a2..02e7deb 100644 --- a/clcommands.py +++ b/clcommands.py @@ -196,8 +196,8 @@ class Command(Configuration): if rcfile: self.load_file_configuration(rcfile) args = self.load_command_line_configuration(args) - self.check_args(args) try: + self.check_args(args) self.run(args) except KeyboardInterrupt: print 'interrupted' |