summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 12cf6f04..c164b5ba 100644
--- a/cloudinit/CloudConfig/cc_locale.py
+++ b/cloudinit/CloudConfig/cc_locale.py
@@ -28,7 +28,7 @@ def apply_locale(locale):
def handle(name,cfg,cloud,log,args):
if len(args) != 0:
- value = args[0]
+ locale = args[0]
else:
locale = util.get_cfg_option_str(cfg,"locale",cloud.get_locale())