Permalink
Browse files

remove comments, add space after ;

  • Loading branch information...
1 parent 833f07b commit 6a8bcf25254e518c4549f1ba5a87c986a3d31364 @cjnoyescrisp cjnoyescrisp committed Jul 19, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 S3/S3.py
View
@@ -374,15 +374,15 @@ def object_put(self, filename, uri, extra_headers = None, extra_label = ""):
## MIME-type handling
content_type = self.config.mime_type
- print(content_type)
+
if not content_type and self.config.guess_mime_type:
content_type = mime_magic(filename)
if not content_type:
content_type = self.config.default_mime_type
- print(content_type)
+
## add charset to content type
if self.add_encoding(filename, content_type):
- content_type = content_type + ";charset=" + self.config.encoding.upper()
+ content_type = content_type + "; charset=" + self.config.encoding.upper()
debug("Content-Type set to '%s'" % content_type)
headers["content-type"] = content_type

0 comments on commit 6a8bcf2

Please sign in to comment.