Mixed quotes fix
1 files changed, 3 insertions(+), 3 deletions(-)

M webutils/aws/s3proc.py
M webutils/aws/s3proc.py +3 -3
@@ 16,7 16,7 @@ log = logging.getLogger('webutils.aws.s3
 
 
 class S3Error(Exception):
-    "Misc. S3 Service Error"
+    'Misc. S3 Service Error'
     pass
 
 

          
@@ 167,7 167,7 @@ class S3Proc(object):
     def set_metadata(self, filename, meta_key, meta_value):
         try:
             k = self.client.head_object(Bucket=self.bucket_name, Key=filename)
-            m = k["Metadata"]
+            m = k['Metadata']
             m[meta_key] = meta_value
             copy_source = '{0}/{1}'.format(self.bucket_name, filename)
             self.client.copy_object(

          
@@ 192,7 192,7 @@ class S3Proc(object):
                 error.response['ResponseMetadata']['HTTPStatusCode'],
                 error.response['Error']['Message']))
         try:
-            m = k["Metadata"]
+            m = k['Metadata']
             return m[meta_key]
         except KeyError:
             raise S3Error('Invalid meta key')