run testcases in debug mode
authorForrest Voight <forrest@forre.st>
Fri, 7 Dec 2012 18:27:35 +0000 (13:27 -0500)
committerForrest Voight <forrest@forre.st>
Fri, 7 Dec 2012 21:54:57 +0000 (16:54 -0500)
p2pool/__init__.py
p2pool/main.py

index 7459fa4..6773d6f 100644 (file)
@@ -46,4 +46,4 @@ def _get_version():
 
 __version__ = _get_version()
 
-DEBUG = False
+DEBUG = True
index 1f09ae3..098eb3a 100644 (file)
@@ -433,6 +433,8 @@ def run():
     if args.debug:
         p2pool.DEBUG = True
         defer.setDebugging(True)
+    else:
+        p2pool.DEBUG = False
     
     net_name = args.net_name + ('_testnet' if args.testnet else '')
     net = networks.nets[net_name]