diff options
Diffstat (limited to 'cloudinit/__init__.py')
-rw-r--r-- | cloudinit/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cloudinit/__init__.py b/cloudinit/__init__.py index 7406e19f..47e4e10a 100644 --- a/cloudinit/__init__.py +++ b/cloudinit/__init__.py @@ -102,6 +102,7 @@ def logging_set_from_cfg(cfg): import DataSource +DataSource.setlog(log) import UserDataHandler class CloudInit: @@ -190,7 +191,7 @@ class CloudInit: for cls in dslist: ds = cls.__name__ try: - s = cls(log) + s = cls() if s.get_data(): self.datasource = s self.datasource_name = ds |