From: Daira Hopwood Date: Thu, 14 Feb 2013 22:30:04 +0000 (+0000) Subject: openstack_container.py: disable or remove debug prints. X-Git-Url: https://git.rkrishnan.org/listings/nxhtml.html?a=commitdiff_plain;h=8241706bc3e374d2f0341fbfc3cefc261b68b671;p=tahoe-lafs%2Ftahoe-lafs.git openstack_container.py: disable or remove debug prints. Signed-off-by: David-Sarah Hopwood --- diff --git a/src/allmydata/storage/backends/cloud/openstack/openstack_container.py b/src/allmydata/storage/backends/cloud/openstack/openstack_container.py index 4dbcf8a7..afc41e90 100644 --- a/src/allmydata/storage/backends/cloud/openstack/openstack_container.py +++ b/src/allmydata/storage/backends/cloud/openstack/openstack_container.py @@ -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: