From: David-Sarah 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/?a=commitdiff_plain;h=272aa3176914cb7f71174ef922b00c3f128f4ff0;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: