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/components/com_hotproperty/flags/module-simplejson.scanner.html?a=commitdiff_plain;h=4f8ec22cca595e6fd57722a55578a28f461b9b04;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: