Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(345)

Unified Diff: third_party/boto/boto/cloudfront/distribution.py

Issue 698893003: Update checked in version of gsutil to version 4.6 (Closed) Base URL: http://dart.googlecode.com/svn/third_party/gsutil/
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/boto/boto/cloudfront/__init__.py ('k') | third_party/boto/boto/cloudsearch/__init__.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/boto/boto/cloudfront/distribution.py
===================================================================
--- third_party/boto/boto/cloudfront/distribution.py (revision 33376)
+++ third_party/boto/boto/cloudfront/distribution.py (working copy)
@@ -103,6 +103,9 @@
self.logging = logging
self.default_root_object = default_root_object
+ def __repr__(self):
+ return "DistributionConfig:%s" % self.origin
+
def to_xml(self):
s = '<?xml version="1.0" encoding="UTF-8"?>\n'
s += '<DistributionConfig xmlns="http://cloudfront.amazonaws.com/doc/2010-07-15/">\n'
@@ -234,6 +237,9 @@
self.etag = None
self.streaming = False
+ def __repr__(self):
+ return "DistributionSummary:%s" % self.domain_name
+
def startElement(self, name, attrs, connection):
if name == 'TrustedSigners':
self.trusted_signers = TrustedSigners()
@@ -295,6 +301,9 @@
self._bucket = None
self._object_class = Object
+ def __repr__(self):
+ return "Distribution:%s" % self.domain_name
+
def startElement(self, name, attrs, connection):
if name == 'DistributionConfig':
self.config = DistributionConfig()
« no previous file with comments | « third_party/boto/boto/cloudfront/__init__.py ('k') | third_party/boto/boto/cloudsearch/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698