From bcc2c43e2a5e7a965da4020da8db028b409ee224 Mon Sep 17 00:00:00 2001 From: Joshua Powers Date: Thu, 15 Aug 2019 18:23:17 +0000 Subject: pyflakes: remove unused variable --- cloudinit/config/cc_ssh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cloudinit') 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: -- cgit v1.2.3