diff options
author | Scott Moser <smoser@ubuntu.com> | 2016-03-03 12:20:48 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2016-03-03 12:20:48 -0500 |
commit | c496b6a11d504ef62371cb5e03ac80b4ceb37540 (patch) | |
tree | 086cf1486afe43ed385edc635593e3ec8957d534 /cloudinit/util.py | |
parent | 97efb9d48197d7098f1abe2ee519418afbe6aec5 (diff) | |
download | vyos-cloud-init-c496b6a11d504ef62371cb5e03ac80b4ceb37540.tar.gz vyos-cloud-init-c496b6a11d504ef62371cb5e03ac80b4ceb37540.zip |
run pyflakes in more places, fix fallout
this makes 'make' run pyflakes, so failures there will stop a build.
also adds it to tox.
Diffstat (limited to 'cloudinit/util.py')
-rw-r--r-- | cloudinit/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/util.py b/cloudinit/util.py index 45d49e66..0a639bb9 100644 --- a/cloudinit/util.py +++ b/cloudinit/util.py @@ -2147,7 +2147,7 @@ def _read_dmi_syspath(key): LOG.debug("dmi data %s returned %s", dmi_key_path, key_data) return key_data.strip() - except Exception as e: + except Exception: logexc(LOG, "failed read of %s", dmi_key_path) return None |