Browse Source

Use cgitb to get verbose tracebacks.

Michael Stone 13 years ago
parent
commit
6a47e44886
1 changed files with 4 additions and 0 deletions
  1. 4 0
      lib/chutney/TorNet.py

+ 4 - 0
lib/chutney/TorNet.py

@@ -7,6 +7,10 @@
 #  in all redistributed copies and derived works.  There is no warranty.
 
 from __future__ import with_statement
+
+import cgitb
+cgitb.enable(format="plain")
+
 import os
 import signal
 import subprocess