Merge "Correct freezer reraising of exception"

This commit is contained in:
Jenkins 2016-12-07 18:19:35 +00:00 committed by Gerrit Code Review
commit a4dc47c413
2 changed files with 3 additions and 3 deletions

View File

@ -39,8 +39,8 @@ class SwiftStorage(physical.PhysicalStorage):
prefix=split[1])[1]:
try:
self.swift().delete_object(split[0], file['name'])
except Exception as e:
raise e
except Exception:
raise
def put_file(self, from_path, to_path):
self.client_manager.create_swift()

View File

@ -113,4 +113,4 @@ class QueuedThread(threading.Thread):
self.rich_queue.force_stop()
# Thread will exit at this point.
# @todo print the error using traceback.print_exc(file=sys.stdout)
raise e
raise