Mercurial > treepkg > treepkg
comparison treepkg/readconfig.py @ 387:c1f3be727f9d treepkg-status
renamed new status dir to info because of a naming conflict with status.py
let the user specify a treepkg name in the config
the name is propagated to PackagerGroup
[treepkg]
name: <treepkgname>
becomes:
pg = PackagerGroup(...)
pg.name
author | Bjoern Ricks <bricks@intevation.de> |
---|---|
date | Thu, 08 Jul 2010 10:07:39 +0000 |
parents | 41226e427823 |
children | a690fc689f2f |
comparison
equal
deleted
inserted
replaced
386:ffa86312ee81 | 387:c1f3be727f9d |
---|---|
82 ] | 82 ] |
83 | 83 |
84 treepkg_desc = [ | 84 treepkg_desc = [ |
85 ("check_interval", int), | 85 ("check_interval", int), |
86 "instructions_file", | 86 "instructions_file", |
87 ("name", str, "") | |
87 ] | 88 ] |
88 | 89 |
89 | 90 |
90 def read_config_section(parser, section, item_desc, defaults=None): | 91 def read_config_section(parser, section, item_desc, defaults=None): |
91 if defaults is None: | 92 if defaults is None: |