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

Unified Diff: boto/cloudfront/invalidation.py

Issue 8386013: Merging in latest boto. (Closed) Base URL: svn://svn.chromium.org/boto
Patch Set: Redoing vendor drop by deleting and then merging. Created 9 years, 2 months 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 | « boto/cloudfront/distribution.py ('k') | boto/connection.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: boto/cloudfront/invalidation.py
diff --git a/boto/cloudfront/invalidation.py b/boto/cloudfront/invalidation.py
index ea13a670158b55e68b207938825271d08c02201b..b213e65cc07497575da82bf6c1c4f4f2e428c94f 100644
--- a/boto/cloudfront/invalidation.py
+++ b/boto/cloudfront/invalidation.py
@@ -27,11 +27,11 @@ class InvalidationBatch(object):
:see: http://docs.amazonwebservices.com/AmazonCloudFront/2010-08-01/APIReference/index.html?InvalidationBatchDatatype.html
"""
- def __init__(self, paths=[], connection=None, distribution=None, caller_reference=''):
+ def __init__(self, paths=None, connection=None, distribution=None, caller_reference=''):
"""Create a new invalidation request:
:paths: An array of paths to invalidate
"""
- self.paths = paths
+ self.paths = paths or []
self.distribution = distribution
self.caller_reference = caller_reference
if not self.caller_reference:
« no previous file with comments | « boto/cloudfront/distribution.py ('k') | boto/connection.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698