Merge "Correct freezer reraising of exception"
This commit is contained in:
commit
a4dc47c413
|
@ -39,8 +39,8 @@ class SwiftStorage(physical.PhysicalStorage):
|
||||||
prefix=split[1])[1]:
|
prefix=split[1])[1]:
|
||||||
try:
|
try:
|
||||||
self.swift().delete_object(split[0], file['name'])
|
self.swift().delete_object(split[0], file['name'])
|
||||||
except Exception as e:
|
except Exception:
|
||||||
raise e
|
raise
|
||||||
|
|
||||||
def put_file(self, from_path, to_path):
|
def put_file(self, from_path, to_path):
|
||||||
self.client_manager.create_swift()
|
self.client_manager.create_swift()
|
||||||
|
|
|
@ -113,4 +113,4 @@ class QueuedThread(threading.Thread):
|
||||||
self.rich_queue.force_stop()
|
self.rich_queue.force_stop()
|
||||||
# Thread will exit at this point.
|
# Thread will exit at this point.
|
||||||
# @todo print the error using traceback.print_exc(file=sys.stdout)
|
# @todo print the error using traceback.print_exc(file=sys.stdout)
|
||||||
raise e
|
raise
|
||||||
|
|
Loading…
Reference in New Issue