summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Powers <josh.powers@canonical.com>2019-08-15 18:23:17 +0000
committerServer Team CI Bot <josh.powers+server-team-bot@canonical.com>2019-08-15 18:23:17 +0000
commitbcc2c43e2a5e7a965da4020da8db028b409ee224 (patch)
treef868971cd8fce70c09720cf12ffa9393b18197e8
parent2f3bb764626b9065f4102c7c0a67998a9c174444 (diff)
downloadvyos-cloud-init-bcc2c43e2a5e7a965da4020da8db028b409ee224.tar.gz
vyos-cloud-init-bcc2c43e2a5e7a965da4020da8db028b409ee224.zip
pyflakes: remove unused variable
-rwxr-xr-xcloudinit/config/cc_ssh.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/config/cc_ssh.py b/cloudinit/config/cc_ssh.py
index 53f69399..fdd8f4d3 100755
--- a/cloudinit/config/cc_ssh.py
+++ b/cloudinit/config/cc_ssh.py
@@ -197,7 +197,7 @@ def handle(_name, cfg, cloud, log, _args):
hostkeys = get_public_host_keys(blacklist=host_key_blacklist)
try:
cloud.datasource.publish_host_keys(hostkeys)
- except Exception as e:
+ except Exception:
util.logexc(log, "Publishing host keys failed!")
try: