diff options
author | Scott Moser <smoser@ubuntu.com> | 2011-02-04 16:56:17 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2011-02-04 16:56:17 -0500 |
commit | 38b21ce3c0972d0659c4a4a9fb22640ff1d3f439 (patch) | |
tree | 742de5207f8158812b55e3eb5ac407ce58bcd04e /cloudinit/__init__.py | |
parent | bafe47bc913330b16cb1296ffbfe97596b5c4cfc (diff) | |
download | vyos-cloud-init-38b21ce3c0972d0659c4a4a9fb22640ff1d3f439.tar.gz vyos-cloud-init-38b21ce3c0972d0659c4a4a9fb22640ff1d3f439.zip |
fix logging in DataSource modules
Previous logging was getting 'None' set in the DataSource collections.
Thus, 'log.debug' would throw error. I think it is proper to pull in
the base cloudinit's log.
Diffstat (limited to 'cloudinit/__init__.py')
-rw-r--r-- | cloudinit/__init__.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cloudinit/__init__.py b/cloudinit/__init__.py index bb4c495c..99cc4d46 100644 --- a/cloudinit/__init__.py +++ b/cloudinit/__init__.py @@ -102,7 +102,6 @@ def logging_set_from_cfg(cfg): import DataSource -DataSource.setlog(log) import UserDataHandler class CloudInit: |