From a0b11d8ba00b48214522adff63ef28a2b40e8efa Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Fri, 16 Dec 2011 12:22:53 -0500 Subject: replace a print with a log.debug --- cloudinit/CloudConfig/cc_apt_update_upgrade.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cloudinit/CloudConfig/cc_apt_update_upgrade.py b/cloudinit/CloudConfig/cc_apt_update_upgrade.py index 10707c77..5491f3c8 100644 --- a/cloudinit/CloudConfig/cc_apt_update_upgrade.py +++ b/cloudinit/CloudConfig/cc_apt_update_upgrade.py @@ -30,6 +30,8 @@ def handle(name,cfg,cloud,log,args): mirror = find_apt_mirror(cloud, cfg) + log.debug("selected mirror at: %s" % mirror) + if not util.get_cfg_option_bool(cfg, \ 'apt_preserve_sources_list', False): generate_sources_list(release, mirror) @@ -196,7 +198,6 @@ def find_apt_mirror(cloud, cfg): for post in doms: mirror_list.append("http://ubuntu-mirror%s/ubuntu" % post) - print "searching %s" % mirror_list mirror = util.search_for_mirror(mirror_list) if not mirror: -- cgit v1.2.3