summaryrefslogtreecommitdiff
path: root/portato/config_parser.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-01-27 16:25:08 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-01-27 16:25:08 +0100
commit5d4e47fb4173e5d1b327abd72c26b5fb68df99d7 (patch)
tree3fd22881ad5d74fa62be39cb8b2ff5943c2ebb61 /portato/config_parser.py
parent42a17772c7c83261bf4097b53f2396b8fedd4a5e (diff)
downloadportato-5d4e47fb4173e5d1b327abd72c26b5fb68df99d7.tar.gz
portato-5d4e47fb4173e5d1b327abd72c26b5fb68df99d7.tar.bz2
portato-5d4e47fb4173e5d1b327abd72c26b5fb68df99d7.zip
Use implicit 'MAIN' if no name and therefore default session name is given
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