]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
openstack_container.py: disable or remove debug prints.
authorDavid-Sarah Hopwood <david-sarah@jacaranda.org>
Thu, 14 Feb 2013 22:30:04 +0000 (22:30 +0000)
committerDaira Hopwood <daira@jacaranda.org>
Wed, 9 Apr 2014 00:33:54 +0000 (01:33 +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: