diff options
author | 2019-07-05 17:30:11 +0800 | |
---|---|---|
committer | 2019-07-05 17:34:22 +0800 | |
commit | d36b8189117b5b6832460bc8ae413242ce4c107f (patch) | |
tree | 5150df9134217d973dd305d960a4e1aa21ec4e3a /lcm/lcm/pub/utils/notificationsutil.py | |
parent | 6a8c7b1a05e4796dc83b4c820dac2382a9e639d0 (diff) |
vnflcm upgrade from python2 to python3
Change-Id: Iac483f3047f56af4b77ce0a111de329309d12ae9
Issue-ID: VFC-1429
Signed-off-by: hongyuzhao <zhao.hongyu@zte.com.cn>
Diffstat (limited to 'lcm/lcm/pub/utils/notificationsutil.py')
-rw-r--r-- | lcm/lcm/pub/utils/notificationsutil.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lcm/lcm/pub/utils/notificationsutil.py b/lcm/lcm/pub/utils/notificationsutil.py index 0bb40433..2eb820fe 100644 --- a/lcm/lcm/pub/utils/notificationsutil.py +++ b/lcm/lcm/pub/utils/notificationsutil.py @@ -65,7 +65,7 @@ class NotificationsUtil(object): try: self.post_notification(callbackUri, auth_info, notification) except Exception as e: - logger.error("Failed to post notification: %s", e.message) + logger.error("Failed to post notification: %s", e.args[0]) def post_notification(self, callbackUri, auth_info, notification): params = auth_info.get("paramsBasic", {}) |