fixed missing parens

This commit is contained in:
Brian Coca 2015-03-30 22:30:58 -04:00
parent c5f787e6df
commit 7794042cf6

View file

@ -139,7 +139,7 @@ def run_gluster(gargs, **kwargs):
if rc != 0:
module.fail_json(msg='error running gluster (%s) command (rc=%d): %s' % (' '.join(args), rc, out if out != '' else err))
except Exception, e:
module.fail_json(msg='error running gluster (%s) command: %s' % (' '.join(args), str(e))
module.fail_json(msg='error running gluster (%s) command: %s' % (' '.join(args), str(e)))
return out
def run_gluster_nofail(gargs, **kwargs):