summaryrefslogtreecommitdiff
path: root/cloudinit/log.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2012-07-10 17:46:34 -0400
committerScott Moser <smoser@ubuntu.com>2012-07-10 17:46:34 -0400
commitfa09651fcea222d661803b6a86a79fbf6f147374 (patch)
treef0e14673ac9bc46beccee06758ccb6ec366ac042 /cloudinit/log.py
parentee7deec1f122d1c0ae02a02dc6f726bbe9e3c9d5 (diff)
downloadvyos-cloud-init-fa09651fcea222d661803b6a86a79fbf6f147374.tar.gz
vyos-cloud-init-fa09651fcea222d661803b6a86a79fbf6f147374.zip
fix regression in logging code
revno 584 broke logging. This fixes as it intended.
Diffstat (limited to 'cloudinit/log.py')
-rw-r--r--cloudinit/log.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/log.py b/cloudinit/log.py
index 0c6938d6..5fb4ae16 100644
--- a/cloudinit/log.py
+++ b/cloudinit/log.py
@@ -73,7 +73,7 @@ def setupLogging(cfg=None):
# See if any of them actually load...
am_tried = 0
- for log_cfg in enumerate(log_cfgs):
+ for log_cfg in log_cfgs:
try:
am_tried += 1
# Assume its just a string if not a filename