summaryrefslogtreecommitdiff
path: root/cloudinit/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/__init__.py')
-rw-r--r--cloudinit/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cloudinit/__init__.py b/cloudinit/__init__.py
index 72d988d5..1bdeb7f4 100644
--- a/cloudinit/__init__.py
+++ b/cloudinit/__init__.py
@@ -191,7 +191,8 @@ class CloudInit:
cfglist=self.cfg['datasource_list']
dslist = list_sources(cfglist, self.ds_deps)
- dsnames = map(lambda f: f.__name__, dslist)
+ dsnames = [f.__name__ for f in dslist]
+
log.debug("searching for data source in %s" % dsnames)
for cls in dslist:
ds = cls.__name__