diff options
Diffstat (limited to 'cobbler/cobbler.py')
-rwxr-xr-x | cobbler/cobbler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cobbler/cobbler.py b/cobbler/cobbler.py index c164244..5cd0c2e 100755 --- a/cobbler/cobbler.py +++ b/cobbler/cobbler.py @@ -56,7 +56,7 @@ def main(): except SystemExit: pass # probably exited from optparse, nothing extra to print except Exception, exc2: - if str(type(exc2)).find("CX") == -1: + if str(type(exc2)).find("CX") != -1: traceback.print_exc() else: print str(exc2)[1:-1] # remove framing air quotes |