diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2013-05-22 17:21:21 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2013-05-22 17:21:21 -0400 |
commit | a4d575eafe09e2b86ae2f2456333cc8e17eee963 (patch) | |
tree | 3661a486b9b67e9a5a6ac24dbcc284551394fc67 | |
parent | 745a3028e32e1ce2b601da6465bd86d84735d23c (diff) | |
download | ipsutils-a4d575eafe09e2b86ae2f2456333cc8e17eee963.tar.gz |
Boolean type does not seem to detect properly, changed to a boolean value
-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 7179151..7b45309 100644 --- a/ipsutils/task.py +++ b/ipsutils/task.py @@ -28,7 +28,7 @@ class TaskController(object): """ for stack_entry in self.stack: status = stack_entry.run() - if type(status) == type(bool): + if type(status) == type(True): if not status: print("Internal error: {0:s}".format(status)) exit(status) |