Turn debugging print into log.debug
authorKeith Packard <keithp@keithp.com>
Wed, 8 May 2013 22:37:25 +0000 (15:37 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 8 May 2013 22:37:25 +0000 (15:37 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
calypso/__init__.py

index 7143e966412167f15edafbbe3da8ae969209d357..c6ccb7d9ee1d5c1b8e979d2a6bbc7a1f4a13e8ad 100644 (file)
@@ -380,7 +380,7 @@ class CollectionHTTPHandler(server.BaseHTTPRequestHandler):
                 xmlutils.put(self.path, webdav_request, self._collection, context=context)
                 
                 new_name = paths.resource_from_path(self.path)
-                print "item_name %s new_name %s" % (item_name, new_name)
+                log.debug("item_name %s new_name %s", item_name, new_name)
                 # We need to double get this item, because it just got created
                 etag = self._collection.get_item(new_name).etag
                 #log.debug("replacement etag %s", etag)