From 5b489ac4732148f9f052d056699c8258ad6a8274 Mon Sep 17 00:00:00 2001 From: Justin Findlay Date: Fri, 24 Apr 2015 11:08:40 -0600 Subject: [PATCH] convert jboss7 BaseException.message --- salt/states/jboss7.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/salt/states/jboss7.py b/salt/states/jboss7.py index 0e4c8ce66d..d9edc7cfcc 100644 --- a/salt/states/jboss7.py +++ b/salt/states/jboss7.py @@ -550,9 +550,9 @@ def __get_artifact(artifact, salt_source): try: fetch_result = __fetch_from_artifactory(artifact) log.debug('fetch_result={0}'.format(fetch_result)) - except Exception as e: + except Exception as exception: log.debug(traceback.format_exc()) - return None, e.message + return None, exception if fetch_result['status']: resolved_source = fetch_result['target_file']