summaryrefslogtreecommitdiffstats
path: root/gluster/swift/common/middleware/gswauth/bin/gswauth-add-account
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-add-account
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-add-account')
-rwxr-xr-xgluster/swift/common/middleware/gswauth/bin/gswauth-add-account2
1 files changed, 1 insertions, 1 deletions
diff --git a/gluster/swift/common/middleware/gswauth/bin/gswauth-add-account b/gluster/swift/common/middleware/gswauth/bin/gswauth-add-account
index d3fd243..f382232 100755
--- a/gluster/swift/common/middleware/gswauth/bin/gswauth-add-account
+++ b/gluster/swift/common/middleware/gswauth/bin/gswauth-add-account
@@ -64,7 +64,7 @@ if __name__ == '__main__':
except socket.gaierror, err:
exit('Account creation failed: %s. ' \
'Check that the admin_url is valid' % err)
- except socket.error, (errno, msg):
+ except socket.error, msg:
exit('Account creation failed: %s. ' \
'Check that the admin_url is valid' % msg)