Merge pull request #7343 from lberruti/alternatives_python5_2

Make alternatives module python 2.5 compatible
reviewable/pr18780/r1
Michael DeHaan 11 years ago
commit 8fe23e98aa

@ -126,7 +126,7 @@ def main():
)
module.exit_json(changed=True)
except subprocess.CalledProcessError as cpe:
except subprocess.CalledProcessError, cpe:
module.fail_json(msg=str(dir(cpe)))
else:
module.exit_json(changed=False)

Loading…
Cancel
Save