Merge "swift-account-audit: clean up some error formatting"
This commit is contained in:
commit
f4fc811862
@ -252,14 +252,14 @@ class Auditor(object):
|
|||||||
self.account_not_found += 1
|
self.account_not_found += 1
|
||||||
consistent = False
|
consistent = False
|
||||||
print(" Bad status GETting account '%s' "
|
print(" Bad status GETting account '%s' "
|
||||||
" from %ss:%ss" %
|
" from %s:%s" %
|
||||||
(account, node['ip'], node['device']))
|
(account, node['ip'], node['device']))
|
||||||
break
|
break
|
||||||
results = json.loads(resp.read())
|
results = json.loads(resp.read())
|
||||||
except Exception:
|
except Exception:
|
||||||
self.account_exceptions += 1
|
self.account_exceptions += 1
|
||||||
consistent = False
|
consistent = False
|
||||||
print(" Exception GETting account '%s' on %ss:%ss" %
|
print(" Exception GETting account '%s' on %s:%s" %
|
||||||
(account, node['ip'], node['device']))
|
(account, node['ip'], node['device']))
|
||||||
break
|
break
|
||||||
if node_id not in responses:
|
if node_id not in responses:
|
||||||
|
Loading…
Reference in New Issue
Block a user