chiark / gitweb /
ownsrc debugging
[hippotat.git] / hippotatd
index a6d31795aa944aa3712fff169e1767261f392750..399dfe710f0c1b333b59afa82bf1cc5d5f1a494b 100755 (executable)
--- a/hippotatd
+++ b/hippotatd
@@ -265,6 +265,7 @@ def start_http():
 
   ssp = SourceShipmentPreparer(td)
   ssp.logger = partial(log_debug, DBG.OWNSOURCE)
+  if DBG.OWNSOURCE in debug_set: ssp.stream_debug = sys.stdout
   ssp.generate()
 
   resource.putChild(b'source',  twisted.web.static.File(ssp.output_paths[0]))