Skip to content
This repository has been archived by the owner on Nov 4, 2018. It is now read-only.

Commit

Permalink
remove comments, add space after ;
Browse files Browse the repository at this point in the history
  • Loading branch information
cjnoyescrisp committed Jul 19, 2012
1 parent 833f07b commit 6a8bcf2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions S3/S3.py
Expand Up @@ -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
Expand Down

0 comments on commit 6a8bcf2

Please sign in to comment.