fix typo in get_exception(), extends fix #2502 (#2507)

introduced with 9e277aabb033b3ec823b4a2db7c0f7e315eaaf0b
This commit is contained in:
René Moser
2016-06-30 16:37:21 +02:00
committed by Matt Clay
parent 04b4ca51c3
commit 4bfffe813b
4 changed files with 5 additions and 5 deletions

View File

@@ -150,7 +150,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 or err))
except Exception:
e = get_exception
e = get_exception()
module.fail_json(msg='error running gluster (%s) command: %s' % (' '.join(args), str(e)))
return out