Skip to content
Browse files

Fixed spaces.

  • Loading branch information...
1 parent 185347a commit f465b77c7d968d85116171550584a316fa9eaec4 Nikolai Derzhak committed Aug 17, 2012
Showing with 8 additions and 7 deletions.
  1. +8 −7 common/s3_cleaner.py
View
15 common/s3_cleaner.py
@@ -48,14 +48,15 @@
for obj in objects_to_remove:
index.remove(obj)
- if type == "modules":
- for key in keys:
- for obj in index:
- if key.name == '%s/%s' % (prefix, obj['filename']):
- obj['signed_url']=key.generate_url(expires_in=94608000)
+ print "checkpoint"
+ if type == "modules":
+ for key in keys:
+ for obj in index:
+ if key.name == '%s/%s' % (prefix, obj['filename']):
+ obj['signed_url']=key.generate_url(expires_in=94608000)
index_key.set_contents_from_string(simplejson.dumps(index))
- if type != "modules":
- index_key.make_public()
+ if type != "modules":
+ index_key.make_public()
print "Cleaned %d binaries from S3" % cleaned

0 comments on commit f465b77

Please sign in to comment.
Something went wrong with that request. Please try again.