summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2016-03-14 14:24:27 -0400
committerScott Moser <smoser@ubuntu.com>2016-03-14 14:24:27 -0400
commitc3ece3129228ad7f2206d049af0f4635da8e8eb5 (patch)
treee1f8b1d2d104d179aad1ca708eb6b744bb287b53
parent92db1b884bf34339a4536a20123c45b01c9c49ce (diff)
downloadvyos-cloud-init-c3ece3129228ad7f2206d049af0f4635da8e8eb5.tar.gz
vyos-cloud-init-c3ece3129228ad7f2206d049af0f4635da8e8eb5.zip
fix long line
-rw-r--r--cloudinit/config/cc_set_passwords.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/config/cc_set_passwords.py b/cloudinit/config/cc_set_passwords.py
index ff3b9ba5..58e1b713 100644
--- a/cloudinit/config/cc_set_passwords.py
+++ b/cloudinit/config/cc_set_passwords.py
@@ -118,8 +118,8 @@ def handle(_name, cfg, cloud, log, args):
log.debug('Leaving auth line unchanged')
change_pwauth = False
else:
- util.logexc(log, 'Unrecognized value %r for ssh_pwauth' % cfg['ssh_pwauth'])
-
+ msg = 'Unrecognized value %s for ssh_pwauth' % cfg['ssh_pwauth']
+ util.logexc(log, msg)
if change_pwauth:
replaced_auth = False