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

Unified Diff: third_party/gsutil/boto/boto/s3/deletemarker.py

Issue 10199002: Upgrade gsutil to 3.4 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed comments Created 8 years, 8 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 | « third_party/gsutil/boto/boto/s3/connection.py ('k') | third_party/gsutil/boto/boto/s3/key.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/gsutil/boto/boto/s3/deletemarker.py
diff --git a/third_party/gsutil/20110627/boto/boto/s3/deletemarker.py b/third_party/gsutil/boto/boto/s3/deletemarker.py
similarity index 95%
rename from third_party/gsutil/20110627/boto/boto/s3/deletemarker.py
rename to third_party/gsutil/boto/boto/s3/deletemarker.py
index 3462d42eebb70d09d819ffbebea0b346404fc560..c2dac193c1c2fb7e4971bb76dbfa6fde434ea3c0 100644
--- a/third_party/gsutil/20110627/boto/boto/s3/deletemarker.py
+++ b/third_party/gsutil/boto/boto/s3/deletemarker.py
@@ -25,6 +25,7 @@ class DeleteMarker:
def __init__(self, bucket=None, name=None):
self.bucket = bucket
self.name = name
+ self.version_id = None
self.is_latest = False
self.last_modified = None
self.owner = None
@@ -38,10 +39,10 @@ class DeleteMarker:
def endElement(self, name, value, connection):
if name == 'Key':
- self.name = value.encode('utf-8')
+ self.name = value
elif name == 'IsLatest':
if value == 'true':
- self.is_lastest = True
+ self.is_latest = True
else:
self.is_latest = False
elif name == 'LastModified':
« no previous file with comments | « third_party/gsutil/boto/boto/s3/connection.py ('k') | third_party/gsutil/boto/boto/s3/key.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698