summaryrefslogtreecommitdiff
path: root/cloudinit/CloudConfig/cc_locale.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/CloudConfig/cc_locale.py')
-rw-r--r--cloudinit/CloudConfig/cc_locale.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/CloudConfig/cc_locale.py b/cloudinit/CloudConfig/cc_locale.py
index c164b5ba..b9a221ca 100644
--- a/cloudinit/CloudConfig/cc_locale.py
+++ b/cloudinit/CloudConfig/cc_locale.py
@@ -38,6 +38,6 @@ def handle(name,cfg,cloud,log,args):
try:
apply_locale(locale)
- except Exception, e:
+ except Exception as e:
log.debug(traceback.format_exc(e))
raise Exception("failed to apply locale %s" % locale)