summaryrefslogtreecommitdiffstats
path: root/tester/rt/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tester/rt/test.py')
-rw-r--r--tester/rt/test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tester/rt/test.py b/tester/rt/test.py
index b1ae0cd..d9a04da 100644
--- a/tester/rt/test.py
+++ b/tester/rt/test.py
@@ -307,7 +307,7 @@ def run(command_path = None):
except error.exit, eerr:
sys.exit(2)
except KeyboardInterrupt:
- if opts.find_arg('--stacktrace'):
+ if opts is not None and opts.find_arg('--stacktrace'):
print '}} dumping:', threading.active_count()
for t in threading.enumerate():
print '}} ', t.name