summaryrefslogtreecommitdiff
path: root/cloudinit/sources/DataSourceNoCloud.py
diff options
context:
space:
mode:
authorJuerg Haefliger <juergh@gmail.com>2013-06-19 08:44:00 +0200
committerJuerg Haefliger <juergh@gmail.com>2013-06-19 08:44:00 +0200
commit944623f4ad3e4c7319758c64053d06a3b05555a2 (patch)
treec8766adf057692157a0c454ac24a02a9fc5022f1 /cloudinit/sources/DataSourceNoCloud.py
parent812f82e7b3bad3f8127face552c76ef974b54661 (diff)
downloadvyos-cloud-init-944623f4ad3e4c7319758c64053d06a3b05555a2.tar.gz
vyos-cloud-init-944623f4ad3e4c7319758c64053d06a3b05555a2.zip
fix and cleanup usage of util.logexc
Diffstat (limited to 'cloudinit/sources/DataSourceNoCloud.py')
-rw-r--r--cloudinit/sources/DataSourceNoCloud.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/cloudinit/sources/DataSourceNoCloud.py b/cloudinit/sources/DataSourceNoCloud.py
index 084abca7..4ef92a56 100644
--- a/cloudinit/sources/DataSourceNoCloud.py
+++ b/cloudinit/sources/DataSourceNoCloud.py
@@ -1,7 +1,7 @@
# vi: ts=4 expandtab
#
# Copyright (C) 2009-2010 Canonical Ltd.
-# Copyright (C) 2012 Hewlett-Packard Development Company, L.P.
+# Copyright (C) 2012, 2013 Hewlett-Packard Development Company, L.P.
# Copyright (C) 2012 Yahoo! Inc.
#
# Author: Scott Moser <scott.moser@canonical.com>
@@ -119,8 +119,8 @@ class DataSourceNoCloud(sources.DataSource):
if e.errno != errno.ENOENT:
raise
except util.MountFailedError:
- util.logexc(LOG, ("Failed to mount %s"
- " when looking for data"), dev)
+ util.logexc(LOG, "Failed to mount %s when looking for "
+ "data", dev)
# There was no indication on kernel cmdline or data
# in the seeddir suggesting this handler should be used.