Fix spelling: it's logger.debug, not log.
authorNeal H. Walfield <neal@walfield.org>
Thu, 20 Oct 2011 19:48:11 +0000 (21:48 +0200)
committerNeal H. Walfield <neal@walfield.org>
Thu, 20 Oct 2011 19:48:11 +0000 (21:48 +0200)
src/wc.py

index 26f3432..c8048d2 100644 (file)
--- a/src/wc.py
+++ b/src/wc.py
@@ -71,11 +71,11 @@ class mywoodchuck (PyWoodchuck):
                          % (stream.identifier, traceback.format_exc ()))
 
     def object_transfer_cb(self, stream, object,
-        log ("object transfer called on %s (%s) in stream %s (%s)"
-             % (object.human_readable_name, object.identifier,
-                stream.human_readable_name, stream.identifier))
                            version, filename, quality,
                            *args, **kwargs):
+        logger.debug ("object transfer called on %s (%s) in stream %s (%s)"
+                      % (object.human_readable_name, object.identifier,
+                         stream.human_readable_name, stream.identifier))
 
 _w = None
 def wc_init(listing, request_feedback=False):