Merge "Fix the way possibly_quarantine reraises an exception"

This commit is contained in:
Jenkins 2013-07-23 03:54:01 +00:00 committed by Gerrit Code Review
commit 2512908d9d

View File

@ -294,7 +294,7 @@ class DatabaseBroker(object):
elif 'file is encrypted or is not a database' in str(exc_value):
exc_hint = 'corrupted'
else:
raise exc_type(*exc_value.args), None, exc_traceback
raise exc_type, exc_value, exc_traceback
prefix_path = os.path.dirname(self.db_dir)
partition_path = os.path.dirname(prefix_path)
dbs_path = os.path.dirname(partition_path)