summaryrefslogtreecommitdiff
path: root/cloudinit
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2015-07-27 20:42:56 -0400
committerScott Moser <smoser@ubuntu.com>2015-07-27 20:42:56 -0400
commit3a59cf0077f01b82a8b464568bcdd94ce2112b1d (patch)
tree851aa8e697ec22baa69d7c3d25dc662d03727c1b /cloudinit
parentd68b340f8a6abf40f4d5cb546c91122c8856aa83 (diff)
downloadvyos-cloud-init-3a59cf0077f01b82a8b464568bcdd94ce2112b1d.tar.gz
vyos-cloud-init-3a59cf0077f01b82a8b464568bcdd94ce2112b1d.zip
_read_dmi_syspath: fix bad log message causing unintended exception
Diffstat (limited to 'cloudinit')
-rw-r--r--cloudinit/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/util.py b/cloudinit/util.py
index db4e02b8..02ba654a 100644
--- a/cloudinit/util.py
+++ b/cloudinit/util.py
@@ -2145,7 +2145,7 @@ def _read_dmi_syspath(key):
return key_data.strip()
except Exception as e:
- logexc(LOG, "failed read of %s", dmi_key_path, e)
+ logexc(LOG, "failed read of %s", dmi_key_path)
return None