openstack_container.py: disable or remove debug prints.
authorDaira Hopwood <daira@jacaranda.org>
Thu, 14 Feb 2013 22:30:04 +0000 (22:30 +0000)
committerDaira Hopwood <daira@jacaranda.org>
Fri, 17 Apr 2015 21:31:38 +0000 (22:31 +0100)
Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
src/allmydata/storage/backends/cloud/openstack/openstack_container.py

index 4dbcf8a7258e47f5ac1ff0a553a6fa89f80d6ac0..afc41e90ab249a2560a0c7db9678f7480169d74e 100644 (file)
@@ -20,7 +20,7 @@ from allmydata.storage.backends.cloud.cloud_common import IContainer, \
 
 
 # Enabling this will cause secrets to be logged.
-UNSAFE_DEBUG = True
+UNSAFE_DEBUG = False
 
 
 DEFAULT_AUTH_URLS = {
@@ -164,12 +164,9 @@ class DataCollector(Protocol):
         self._done = defer.Deferred()
 
     def dataReceived(self, bytes):
-        print 'Got %d bytes' % (len(bytes),)
         self._data.append(bytes)
 
     def connectionLost(self, reason):
-        print 'Finished receiving body: %s' % (reason.getErrorMessage(),)
-        #reason.raiseException()
         if reason.check(ResponseDone):
             eventually_callback(self._done)("".join(self._data))
         else: