summaryrefslogtreecommitdiff
path: root/cloudinit/cloud.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/cloud.py')
-rw-r--r--cloudinit/cloud.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cloudinit/cloud.py b/cloudinit/cloud.py
index b93a42ea..d8a9fc86 100644
--- a/cloudinit/cloud.py
+++ b/cloudinit/cloud.py
@@ -56,7 +56,8 @@ class Cloud(object):
def get_template_filename(self, name):
fn = self.paths.template_tpl % (name)
if not os.path.isfile(fn):
- LOG.warn("No template found at %s for template named %s", fn, name)
+ LOG.warning("No template found at %s for template named %s",
+ fn, name)
return None
return fn