Commits

Simone Marzola committed 7593d9a

cleaning up

Comments (0)

Files changed (1)

tgext/datahelpers/remote_attachments.py

 
 class S3AttachedFile(AttachedFile):
 
-    def __init__(self, file, filename, uuid=None):
-        super(S3AttachedFile, self).__init__(file, filename, uuid)
-
     @cached_property
     def file(self):
         if isinstance(self._file, basestring):
         key.key = self.local_path
         return key
 
-    @cached_property
+    @property
     def s3_connection(self):
         s3_key = config.get('s3_key')
         s3_secret = config.get('s3_secret')