diff options
author | Scott Moser <smoser@ubuntu.com> | 2015-07-27 20:42:56 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2015-07-27 20:42:56 -0400 |
commit | 3a59cf0077f01b82a8b464568bcdd94ce2112b1d (patch) | |
tree | 851aa8e697ec22baa69d7c3d25dc662d03727c1b | |
parent | d68b340f8a6abf40f4d5cb546c91122c8856aa83 (diff) | |
download | vyos-cloud-init-3a59cf0077f01b82a8b464568bcdd94ce2112b1d.tar.gz vyos-cloud-init-3a59cf0077f01b82a8b464568bcdd94ce2112b1d.zip |
_read_dmi_syspath: fix bad log message causing unintended exception
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | cloudinit/util.py | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -56,6 +56,7 @@ - distro mirrors: provide datasource to mirror selection code to support GCE regional mirrors. (LP: #1470890) - add udev rules that identify ephemeral device on Azure (LP: #1411582) + - _read_dmi_syspath: fix bad log message causing unintended exception 0.7.6: - open 0.7.6 - Enable vendordata on CloudSigma datasource (LP: #1303986) 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 |