summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)