swift-account-audit: clean up some error formatting
"127.0.0.1s:sdas" is confusing at best. Change-Id: I37f78d5993082ac29b001e9563aa4b24fd009a27
This commit is contained in:
parent
29d46ca9f6
commit
3e90ddb37d
@ -251,14 +251,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…
x
Reference in New Issue
Block a user