aboutsummaryrefslogtreecommitdiff
path: root/ipsutils
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2013-05-22 17:21:21 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2013-05-22 17:21:21 -0400
commita4d575eafe09e2b86ae2f2456333cc8e17eee963 (patch)
tree3661a486b9b67e9a5a6ac24dbcc284551394fc67 /ipsutils
parent745a3028e32e1ce2b601da6465bd86d84735d23c (diff)
downloadipsutils-a4d575eafe09e2b86ae2f2456333cc8e17eee963.tar.gz
Boolean type does not seem to detect properly, changed to a boolean value
Diffstat (limited to 'ipsutils')
-rw-r--r--ipsutils/task.py2
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)