diff options
Diffstat (limited to 'ipalib/cli.py')
-rw-r--r-- | ipalib/cli.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipalib/cli.py b/ipalib/cli.py index e1abaa5d5..3592d3b61 100644 --- a/ipalib/cli.py +++ b/ipalib/cli.py @@ -663,7 +663,7 @@ class textui(backend.Backend): selection = int(resp) - 1 if (selection >= 0 and selection < counter): break - except: + except Exception: # fall through to the error msg pass @@ -907,7 +907,7 @@ class console(frontend.Command): try: with script: exec(script, globals(), local) - except: + except Exception: traceback.print_exc() exit(1) else: |