equal
deleted
inserted
replaced
109 |
109 |
110 cdata = util.configparser() |
110 cdata = util.configparser() |
111 try: |
111 try: |
112 cdata.read(filename) |
112 cdata.read(filename) |
113 except ConfigParser.ParsingError, inst: |
113 except ConfigParser.ParsingError, inst: |
114 raise util.Abort(_("failed to parse %s\n%s") % (f, inst)) |
114 raise util.Abort(_("failed to parse %s\n%s") % (filename, |
|
115 inst)) |
115 |
116 |
116 for section in sections: |
117 for section in sections: |
117 if not cdata.has_section(section): |
118 if not cdata.has_section(section): |
118 cdata.add_section(section) |
119 cdata.add_section(section) |
119 |
120 |