summaryrefslogtreecommitdiff
path: root/cloudinit/util.py
diff options
context:
space:
mode:
authorRyan Harper <ryan.harper@canonical.com>2016-03-03 16:32:32 -0600
committerRyan Harper <ryan.harper@canonical.com>2016-03-03 16:32:32 -0600
commit3d9153d16b194e7a3139c290e723ef17518e617d (patch)
tree61b036f51d187f6c06d85936cad59a11e8e1dc94 /cloudinit/util.py
parent8cb7c3f7b5339e686bfbf95996b51afafeaf9c9e (diff)
downloadvyos-cloud-init-3d9153d16b194e7a3139c290e723ef17518e617d.tar.gz
vyos-cloud-init-3d9153d16b194e7a3139c290e723ef17518e617d.zip
Fix pyflake/pyflake3 errors
Now we can run make check to assess pep8, pyflakes for python2 or 3 And execute unittests via nosetests (2 and 3).
Diffstat (limited to 'cloudinit/util.py')
-rw-r--r--cloudinit/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/util.py b/cloudinit/util.py
index de37b0f5..e7407ea4 100644
--- a/cloudinit/util.py
+++ b/cloudinit/util.py
@@ -2148,7 +2148,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