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

Commit

Permalink
Merge branch 'mime-guessing'
Browse files Browse the repository at this point in the history
Conflicts:
	S3/S3.py
  • Loading branch information
ksperling committed Jun 27, 2012
2 parents 9847f33 + 53c7df8 commit 9447184
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S3/S3.py
Expand Up @@ -52,7 +52,7 @@ def mime_magic(file):
return (type, None)
else:
return (mime_magic_buffer(gzip.open(file).read(8192)), 'gzip')

except ImportError, e:
if str(e).find("magic") >= 0:
magic_message = "Module python-magic is not available."
Expand Down

0 comments on commit 9447184

Please sign in to comment.