From 38b21ce3c0972d0659c4a4a9fb22640ff1d3f439 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Fri, 4 Feb 2011 16:56:17 -0500 Subject: 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. --- cloudinit/DataSourceEc2.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cloudinit/DataSourceEc2.py') diff --git a/cloudinit/DataSourceEc2.py b/cloudinit/DataSourceEc2.py index eb0036a5..9c385c6c 100644 --- a/cloudinit/DataSourceEc2.py +++ b/cloudinit/DataSourceEc2.py @@ -17,9 +17,8 @@ # along with this program. If not, see . import DataSource -log = DataSource.log -from cloudinit import seeddir +from cloudinit import seeddir, log import cloudinit.util as util import socket import urllib2 -- cgit v1.2.3