summaryrefslogtreecommitdiff
path: root/cloudinit
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2012-06-19 12:17:06 -0700
committerJoshua Harlow <harlowja@yahoo-inc.com>2012-06-19 12:17:06 -0700
commite898c7990cbe94d9116dc27d6c051523575c07e0 (patch)
treef1aa823f37669b5a2b38999864d3724abb70cd8e /cloudinit
parentce396ee2fcbe2eeac22e76ea1fc5b6aa01e4f298 (diff)
downloadvyos-cloud-init-e898c7990cbe94d9116dc27d6c051523575c07e0.tar.gz
vyos-cloud-init-e898c7990cbe94d9116dc27d6c051523575c07e0.zip
Cleanup no datasource exception to use cleaner csv list.
Diffstat (limited to 'cloudinit')
-rw-r--r--cloudinit/sources/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cloudinit/sources/__init__.py b/cloudinit/sources/__init__.py
index a227e050..128d4aad 100644
--- a/cloudinit/sources/__init__.py
+++ b/cloudinit/sources/__init__.py
@@ -177,7 +177,8 @@ def find_source(sys_cfg, distro, paths, ds_deps, cfg_list, pkg_list):
except Exception:
util.logexc(LOG, "Getting data from %s failed", cls)
- msg = "Did not find any data source, searched classes: %s" % (ds_names)
+ msg = ("Did not find any data source,"
+ " searched classes: (%s)") % (", ".join(ds_names))
raise DataSourceNotFoundException(msg)