diff options
Diffstat (limited to 'gluster/swift/common/middleware/gswauth/bin/gswauth-cleanup-tokens')
-rwxr-xr-x | gluster/swift/common/middleware/gswauth/bin/gswauth-cleanup-tokens | 4 |
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) |