summaryrefslogtreecommitdiff
path: root/portato/config_parser.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-01-27 22:01:27 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-01-27 22:01:27 +0100
commit29297f7e706d8635d582c257aba63d7c3230efdb (patch)
tree97f0510981a39b0947ad4321c45b94011098adbd /portato/config_parser.py
parent6224da7a5810ef8a9309bc0fd919759e832edcf6 (diff)
parent581f7e6b508c43250c4191ad740dd1b31a4ca9af (diff)
downloadportato-29297f7e706d8635d582c257aba63d7c3230efdb.tar.gz
portato-29297f7e706d8635d582c257aba63d7c3230efdb.tar.bz2
portato-29297f7e706d8635d582c257aba63d7c3230efdb.zip
Merged enhanced session handling
Diffstat (limited to 'portato/config_parser.py')
-rw-r--r--portato/config_parser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/portato/config_parser.py b/portato/config_parser.py
index e0bb15d..58e4038 100644
--- a/portato/config_parser.py
+++ b/portato/config_parser.py
@@ -483,8 +483,8 @@ class ConfigParser:
return
with self.writelock:
- for sec in self.vars:
- for val in self.vars[sec].itervalues():
+ for sec in self.vars.itervalues():
+ for val in sec.itervalues():
if val.changed:
part1 = self.cache[val.line][:self.pos[val.line][0]] # key+DELIMITER
part2 = val.value # value