diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2013-06-04 14:12:58 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2013-06-04 14:12:58 -0400 |
commit | d379001c4b7d539773db39f8d21166c0a8059697 (patch) | |
tree | fd2570d37cb427bf8d66cf0c410aacc4570db46d /ipsutils/task.py | |
parent | 5bc5dc73572e1eaa90b16ab96795bfb85fad661b (diff) | |
download | ipsutils-d379001c4b7d539773db39f8d21166c0a8059697.tar.gz |
Slightly more pythonic if statement
Diffstat (limited to 'ipsutils/task.py')
-rw-r--r-- | ipsutils/task.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipsutils/task.py b/ipsutils/task.py index d64ce2d..72f992a 100644 --- a/ipsutils/task.py +++ b/ipsutils/task.py @@ -42,7 +42,7 @@ class Controller(object): print("Internal error: {0:d}".format(status)) exit(status) else: - if status > 0: + if status is not 0: print("exit: {0:d}".format(status)) exit(status) |