From 3a59cf0077f01b82a8b464568bcdd94ce2112b1d Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Mon, 27 Jul 2015 20:42:56 -0400 Subject: _read_dmi_syspath: fix bad log message causing unintended exception --- ChangeLog | 1 + cloudinit/util.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 661e968b..bef5f77d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 -- cgit v1.2.3