summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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