We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d6ad23 commit fb02786Copy full SHA for fb02786
scent.py
@@ -27,7 +27,7 @@ def execute_nose(*args):
27
try:
28
return main()
29
except SystemExit as x:
30
- if x.message:
+ if hasattr(x, 'message'):
31
print("Found error {0}: {1}".format(x.code, x.message))
32
return not x.code
33
else:
0 commit comments