diff options
| author | Joshua Powers <josh.powers@canonical.com> | 2019-08-15 18:23:17 +0000 |
|---|---|---|
| committer | Server Team CI Bot <josh.powers+server-team-bot@canonical.com> | 2019-08-15 18:23:17 +0000 |
| commit | bcc2c43e2a5e7a965da4020da8db028b409ee224 (patch) | |
| tree | f868971cd8fce70c09720cf12ffa9393b18197e8 | |
| parent | 2f3bb764626b9065f4102c7c0a67998a9c174444 (diff) | |
| download | vyos-cloud-init-bcc2c43e2a5e7a965da4020da8db028b409ee224.tar.gz vyos-cloud-init-bcc2c43e2a5e7a965da4020da8db028b409ee224.zip | |
pyflakes: remove unused variable
| -rwxr-xr-x | cloudinit/config/cc_ssh.py | 2 |
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: |
