summaryrefslogtreecommitdiff
path: root/cloudinit/transforms/cc_ssh.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/transforms/cc_ssh.py')
-rw-r--r--cloudinit/transforms/cc_ssh.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/transforms/cc_ssh.py b/cloudinit/transforms/cc_ssh.py
index 3c2b3622..f5c22e28 100644
--- a/cloudinit/transforms/cc_ssh.py
+++ b/cloudinit/transforms/cc_ssh.py
@@ -66,7 +66,7 @@ def handle(_name, cfg, cloud, log, _args):
tgt_perms = key2file[key][1]
util.write_file(tgt_fn, val, tgt_perms)
- for priv, pub in priv2pub.iteritems():
+ for (priv, pub) in priv2pub.iteritems():
if pub in cfg['ssh_keys'] or not priv in cfg['ssh_keys']:
continue
pair = (key2file[priv][0], key2file[pub][0])