summaryrefslogtreecommitdiff
path: root/swiftclient/shell.py
diff options
context:
space:
mode:
Diffstat (limited to 'swiftclient/shell.py')
-rwxr-xr-xswiftclient/shell.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/swiftclient/shell.py b/swiftclient/shell.py
index 5e23bc4..d18fc9e 100755
--- a/swiftclient/shell.py
+++ b/swiftclient/shell.py
@@ -170,7 +170,7 @@ def st_delete(parser, args, output_manager, return_parser=False):
c = r.get('container', '')
o = r.get('object', '')
a = (' [after {0} attempts]'.format(r.get('attempts'))
- if r.get('attempts') > 1 else '')
+ if r.get('attempts', 1) > 1 else '')
if r['action'] == 'bulk_delete':
if r['success']: