summaryrefslogtreecommitdiff
path: root/start_mx.py
diff options
context:
space:
mode:
Diffstat (limited to 'start_mx.py')
-rwxr-xr-xstart_mx.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/start_mx.py b/start_mx.py
index 7b8fc8a..fe0b23b 100755
--- a/start_mx.py
+++ b/start_mx.py
@@ -55,7 +55,7 @@ except ImportError, ie:
sys.exit(1)
try:
- from twisted.python import usage, runtime
+ from twisted.python import usage, runtime, failure
from twisted.python.util import spewer
except ImportError, ie:
print("This software requires Twisted>=12.0.2, please see the README for")
@@ -139,9 +139,10 @@ if __name__ == "__main__":
% (application_name, runtime.shortPythonVersion(),
runtime.platform.getType(), thread_support))
-
if options['verbose']:
config.basic.debug = True
+ failure.traceupLength = 7
+ failure.startDebugMode()
if options['test']:
from leap.mx import tests ## xxx this needs an __init__.py