(config)
| 230 | return d |
| 231 | |
| 232 | def parse_variables(config): |
| 233 | if not config.has_section('variables'): |
| 234 | raise FormatError("No variables section found !") |
| 235 | |
| 236 | d = {} |
| 237 | |
| 238 | for name, value in config.items("variables"): |
| 239 | d[name] = value |
| 240 | |
| 241 | return VariableSet(d) |
| 242 | |
| 243 | def parse_sections(config): |
| 244 | return meta_d, r |
nothing calls this directly
no test coverage detected