Preserve traceback in swift-dispersion-report

Commit c690bcb fixed a bug in the dispersion report, but changed this
from a bare "raise" to "raise err", which loses the traceback. Not a
big deal, but worth putting back IMO.

Change-Id: Id5b72153a4b8df8e3faaf1fa3fb2040e28ba85cc
This commit is contained in:
Samuel Merritt 2015-09-01 15:19:50 -07:00
parent c690bcb683
commit e02609c66a
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ def object_dispersion_report(coropool, connpool, account, object_ring,
container, prefix='dispersion_', full_listing=True)[1]]
except urllib2.HTTPError as err:
if err.getcode() != 404:
raise err
raise
print >>stderr, 'No objects to query. Has ' \
'swift-dispersion-populate been run?'