From 272aa3176914cb7f71174ef922b00c3f128f4ff0 Mon Sep 17 00:00:00 2001 From: David-Sarah Hopwood Date: Thu, 14 Feb 2013 22:30:04 +0000 Subject: [PATCH] openstack_container.py: disable or remove debug prints. Signed-off-by: David-Sarah Hopwood --- .../storage/backends/cloud/openstack/openstack_container.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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: -- 2.45.2