From 3e5e7f563837685aeabc2fc67dd6cbb9fc619b0a Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Fri, 10 Jan 2014 17:38:54 -0800 Subject: Updated non-json message --- cloudinit/ec2_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cloudinit') diff --git a/cloudinit/ec2_utils.py b/cloudinit/ec2_utils.py index 1fd674bb..c86623bc 100644 --- a/cloudinit/ec2_utils.py +++ b/cloudinit/ec2_utils.py @@ -111,8 +111,8 @@ class MetadataMaterializer(object): # Assume it's json, unless it fails parsing... return json.loads(blob) except (ValueError, TypeError) as e: - LOG.warn("Field %s looked like json, but it was not: %s", - field, e) + LOG.warn("Field %s looked like a json object, but it was" + " not: %s", field, e) if blob.find("\n") != -1: return blob.splitlines() return blob -- cgit v1.2.3