aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/ui/taskexp.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bb/ui/taskexp.py')
-rw-r--r--lib/bb/ui/taskexp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/ui/taskexp.py b/lib/bb/ui/taskexp.py
index 7895102b9..8fff24423 100644
--- a/lib/bb/ui/taskexp.py
+++ b/lib/bb/ui/taskexp.py
@@ -200,7 +200,7 @@ def main(server, eventHandler, params):
if error:
print("Error running command '%s': %s" % (cmdline, error))
return 1
- elif ret != True:
+ elif not ret:
print("Error running command '%s': returned %s" % (cmdline, ret))
return 1
except client.Fault as x: