From 5261d14aefc047e93a11e2c7fca1a270a966d156 Mon Sep 17 00:00:00 2001 From: Tim Bielawa Date: Thu, 29 Mar 2012 14:19:09 -0400 Subject: [PATCH] Fix exception catching for py2.4 --- bin/ansible | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ansible b/bin/ansible index a53aca7248..978bddf33c 100755 --- a/bin/ansible +++ b/bin/ansible @@ -175,7 +175,7 @@ if __name__ == '__main__': (options, args) = cli.parse() try: (runner, results) = cli.run(options, args) - except errors.AnsibleError as e: + except errors.AnsibleError, e: # Generic handler for ansible specific errors print "ERROR: %s" % str(e) sys.exit(1)