aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Bachelier <laurent@bachelier.name>2012-03-22 18:14:07 +0100
committerLaurent Bachelier <laurent@bachelier.name>2012-03-22 18:14:07 +0100
commite451e867c6cb1d9bbcbfc52271100490ff868b44 (patch)
treefe8bddb9f1b13f500ab77ded8f8d9c7f237c7f8d
parentUppercase class constants (diff)
downloadconfman-e451e867c6cb1d9bbcbfc52271100490ff868b44.tar.xz
Avoid standard names
-rw-r--r--confman.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/confman.py b/confman.py
index 5f73c4b..5bdc43b 100644
--- a/confman.py
+++ b/confman.py
@@ -424,18 +424,18 @@ class ConfigSource(object):
"""
Executes all actions if everything is alright.
"""
- for file in self:
- file.check()
- for file in self:
- file.sync()
+ for f in self:
+ f.check()
+ for f in self:
+ f.sync()
def __iter__(self):
"""
Iterates over all analyzed files.
"""
for files in self.tree.itervalues():
- for file in files.itervalues():
- yield file
+ for f in files.itervalues():
+ yield f
def __repr__(self):
return "\n".join(\