Mercurial > treepkg > treepkg
comparison treepkg/readconfig.py @ 52:78cf5f6778ec
Rename 'packagel ine' -> 'package track'
author | Bernhard Herzog <bh@intevation.de> |
---|---|
date | Tue, 03 Apr 2007 20:33:33 +0200 |
parents | 2802be410156 |
children | 3ed079a7174a |
comparison
equal
deleted
inserted
replaced
50:225206553bba | 52:78cf5f6778ec |
---|---|
61 packagers = [] | 61 packagers = [] |
62 for section in parser.sections(): | 62 for section in parser.sections(): |
63 if section.startswith("pkg_"): | 63 if section.startswith("pkg_"): |
64 packager_class = parser.get(section, "packager_class") | 64 packager_class = parser.get(section, "packager_class") |
65 module = util.import_dotted_name(packager_class) | 65 module = util.import_dotted_name(packager_class) |
66 desc = packager_desc + module.PackageLine.extra_config_desc | 66 desc = packager_desc + module.PackageTrack.extra_config_desc |
67 packagers.append(read_config_section(parser, section, desc, | 67 packagers.append(read_config_section(parser, section, desc, |
68 dict(name=section[4:]))) | 68 dict(name=section[4:]))) |
69 | 69 |
70 # main config | 70 # main config |
71 treepkg = read_config_section(parser, "treepkg", treepkg_desc) | 71 treepkg = read_config_section(parser, "treepkg", treepkg_desc) |