summaryrefslogtreecommitdiffstats
path: root/gluster/swift/common/middleware/gswauth/bin/gswauth-cleanup-tokens
diff options
context:
space:
mode:
Diffstat (limited to 'gluster/swift/common/middleware/gswauth/bin/gswauth-cleanup-tokens')
-rwxr-xr-xgluster/swift/common/middleware/gswauth/bin/gswauth-cleanup-tokens4
1 files changed, 2 insertions, 2 deletions
diff --git a/gluster/swift/common/middleware/gswauth/bin/gswauth-cleanup-tokens b/gluster/swift/common/middleware/gswauth/bin/gswauth-cleanup-tokens
index f73c8b1..75420a4 100755
--- a/gluster/swift/common/middleware/gswauth/bin/gswauth-cleanup-tokens
+++ b/gluster/swift/common/middleware/gswauth/bin/gswauth-cleanup-tokens
@@ -94,7 +94,7 @@ if __name__ == '__main__':
else:
exit('Purging %s failed with status '
'code %d' % (options.purge_account, e.http_status))
- except socket.error, (errno, msg):
+ except socket.error, msg:
exit('Token clean-up failed: %s. ' \
'Check that the admin_url is valid' % msg)
if objs:
@@ -141,7 +141,7 @@ if __name__ == '__main__':
else:
exit('Object listing on container %s failed with status '
'code %d' % (container, e.http_status))
- except socket.error, (errno, msg):
+ except socket.error, msg:
exit('Token clean-up failed: %s. ' \
'Check that the admin_url is valid' % msg)