Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove some debug print statements.

  • Loading branch information...
commit 1aec0ada70443e518d4e082e6c0f324adf202320 1 parent 0a8ea52
Mitch.Garnaat authored
Showing with 0 additions and 6 deletions.
  1. +0 −6 boto/cloudfront/__init__.py
6 boto/cloudfront/__init__.py
View
@@ -68,7 +68,6 @@ def _get_all_objects(self, resource, tags):
tags=[('DistributionSummary', DistributionSummary)]
response = self.make_request('GET', '/%s/%s' % (self.Version, resource))
body = response.read()
- print body
if response.status >= 300:
raise CloudFrontServerError(response.status, response.reason, body)
rs = ResultSet(tags)
@@ -80,7 +79,6 @@ def _get_info(self, id, resource, dist_class):
uri = '/%s/%s/%s' % (self.Version, resource, id)
response = self.make_request('GET', uri)
body = response.read()
- print body
if response.status >= 300:
raise CloudFrontServerError(response.status, response.reason, body)
d = dist_class(connection=self)
@@ -96,7 +94,6 @@ def _get_config(self, id, resource, config_class):
uri = '/%s/%s/%s/config' % (self.Version, resource, id)
response = self.make_request('GET', uri)
body = response.read()
- print body
if response.status >= 300:
raise CloudFrontServerError(response.status, response.reason, body)
d = config_class(connection=self)
@@ -114,7 +111,6 @@ def _set_config(self, distribution_id, etag, config):
headers = {'If-Match' : etag, 'Content-Type' : 'text/xml'}
response = self.make_request('PUT', uri, headers, config.to_xml())
body = response.read()
- print body
return self.get_etag(response)
if response.status != 200:
raise CloudFrontServerError(response.status, response.reason, body)
@@ -123,7 +119,6 @@ def _create_object(self, config, resource, dist_class):
response = self.make_request('POST', '/%s/%s' % (self.Version, resource),
{'Content-Type' : 'text/xml'}, data=config.to_xml())
body = response.read()
- print body
if response.status == 201:
d = dist_class(connection=self)
h = handler.XmlHandler(d, self)
@@ -136,7 +131,6 @@ def _delete_object(self, id, etag, resource):
uri = '/%s/%s/%s' % (self.Version, resource, id)
response = self.make_request('DELETE', uri, {'If-Match' : etag})
body = response.read()
- print body
if response.status != 204:
raise CloudFrontServerError(response.status, response.reason, body)
Please sign in to comment.
Something went wrong with that request. Please try again.