From 154722cc740299c6c9d1b3bc9d1e96088f9259eb Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Fri, 21 Jan 2011 20:52:29 -0500 Subject: cc_locale: fix copy paste code error if args are given --- cloudinit/CloudConfig/cc_locale.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) -- cgit v1.2.3