diff options
Diffstat (limited to 'cloudinit/CloudConfig/cc_phone_home.py')
-rw-r--r-- | cloudinit/CloudConfig/cc_phone_home.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/CloudConfig/cc_phone_home.py b/cloudinit/CloudConfig/cc_phone_home.py index ee463757..be6abfa8 100644 --- a/cloudinit/CloudConfig/cc_phone_home.py +++ b/cloudinit/CloudConfig/cc_phone_home.py @@ -88,7 +88,7 @@ def handle(name,cfg,cloud,log,args): util.readurl(url, submit_keys) log.debug("succeeded submit to %s on try %i" % (url, i+1)) return - except Exception, e: + except Exception as e: log.debug("failed to post to %s on try %i" % (url, i+1)) last_e = e sleep(3) |