summaryrefslogtreecommitdiffstats
path: root/gluster/swift/common/middleware/gswauth/bin/gswauth-list
diff options
context:
space:
mode:
authorPrashanth Pai <ppai@redhat.com>2016-01-28 18:10:04 +0530
committerPrashanth Pai <ppai@redhat.com>2016-03-07 22:23:54 -0800
commit7392f4626609da910a2c98c14b8380419613635d (patch)
tree99248f322ff32d53dd12c9e4d4a81e5e996d83e9 /gluster/swift/common/middleware/gswauth/bin/gswauth-list
parentd7af577eb42e4c8bbdcadbb45a46d3a37c98193e (diff)
Fix pep8 and functests
Functests used to fail with higher version of python-eventlet (from EPEL repo) package on rhel6. This change addresses that and also some pep8 issues. BUG: 1302546 Change-Id: I5a1a1deb94ee712a387af3d6f65afbcb8557ab6f Signed-off-by: Prashanth Pai <ppai@redhat.com> Reviewed-on: http://review.gluster.org/13636
Diffstat (limited to 'gluster/swift/common/middleware/gswauth/bin/gswauth-list')
-rwxr-xr-xgluster/swift/common/middleware/gswauth/bin/gswauth-list2
1 files changed, 1 insertions, 1 deletions
diff --git a/gluster/swift/common/middleware/gswauth/bin/gswauth-list b/gluster/swift/common/middleware/gswauth/bin/gswauth-list
index 50b7936..f0372ef 100755
--- a/gluster/swift/common/middleware/gswauth/bin/gswauth-list
+++ b/gluster/swift/common/middleware/gswauth/bin/gswauth-list
@@ -88,7 +88,7 @@ If the [user] is '.groups', the active groups for the account will be listed.
except socket.gaierror, err:
exit('List failed: %s. ' \
'Check that the admin_url is valid' % err)
- except socket.error, (errno, msg):
+ except socket.error, msg:
exit('List failed: %s. ' \
'Check that the admin_url is valid' % msg)