summaryrefslogtreecommitdiff
path: root/clcommands.py
diff options
context:
space:
mode:
authorSylvain Th?nault <sylvain.thenault@logilab.fr>2010-08-25 15:38:52 +0200
committerSylvain Th?nault <sylvain.thenault@logilab.fr>2010-08-25 15:38:52 +0200
commit72bd758d69263824da43ea11f83b4d3d1794a122 (patch)
tree82644b49e1418595be81a5359f68425b1a9640c1 /clcommands.py
parent4f40e0bb2aec380d883e5ac0845c85ca53950303 (diff)
downloadlogilab-common-72bd758d69263824da43ea11f83b4d3d1794a122.tar.gz
catch exception raised by check_ergs properly
Diffstat (limited to 'clcommands.py')
-rw-r--r--clcommands.py2
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'