From a4d575eafe09e2b86ae2f2456333cc8e17eee963 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 22 May 2013 17:21:21 -0400 Subject: Boolean type does not seem to detect properly, changed to a boolean value --- ipsutils/task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipsutils') 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) -- cgit