Closed ThePFMind closed 10 years ago
There is some unbound error in sqlalchemy_imageattach.stores.s3.S3Store object
def upload_file(self, url, data, content_type, rrs, acl='public-read'): ... while 1: try: urllib2.urlopen(request).read() except urllib2.HTTPError as e: if 400 <= e.code < 500: self.logger.exception(e) self.logger.debug(e.read()) raise self.logger.debug(e) continue except IOError: > self.logger.debug(e) E UnboundLocalError: local variable 'e' referenced before assignment
Fixed by #20.
There is some unbound error in sqlalchemy_imageattach.stores.s3.S3Store object