summaryrefslogtreecommitdiff
path: root/cloudinit/config/cc_final_message.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2012-07-09 17:03:03 -0400
committerScott Moser <smoser@ubuntu.com>2012-07-09 17:03:03 -0400
commit39e038a6c1b3e273d22527c05a484626e51b8ed3 (patch)
tree7a29094fdfc1bf9dbf07c998a314734b1d885cc7 /cloudinit/config/cc_final_message.py
parent114b86923a4b5272e15e083704eada79a751c7e4 (diff)
downloadvyos-cloud-init-39e038a6c1b3e273d22527c05a484626e51b8ed3.tar.gz
vyos-cloud-init-39e038a6c1b3e273d22527c05a484626e51b8ed3.zip
cc_final_message: fix pylint issue
Diffstat (limited to 'cloudinit/config/cc_final_message.py')
-rw-r--r--cloudinit/config/cc_final_message.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/config/cc_final_message.py b/cloudinit/config/cc_final_message.py
index 3865332f..aff03c4e 100644
--- a/cloudinit/config/cc_final_message.py
+++ b/cloudinit/config/cc_final_message.py
@@ -37,7 +37,7 @@ def handle(_name, cfg, cloud, log, args):
if len(args) != 0:
msg_in = str(args[0])
else:
- msg_in = util.get_cfg_option_str(cfg, "final_message". msg_in)
+ msg_in = util.get_cfg_option_str(cfg, "final_message", "")
msg_in = msg_in.strip()
if not msg_in: