Mercurial > treepkg
comparison bin/createstaticweb.py @ 325:85b5667f543e
Fix default value in help string for --status-template option.
author | Bernhard Herzog <bh@intevation.de> |
---|---|
date | Wed, 17 Mar 2010 11:23:40 +0000 |
parents | 1fcdffbeb9de |
children | ef87d30468b6 |
comparison
equal
deleted
inserted
replaced
324:77d0f8a4e838 | 325:85b5667f543e |
---|---|
20 parser.set_defaults(status_template="status-by-startdate.html") | 20 parser.set_defaults(status_template="status-by-startdate.html") |
21 parser.add_option("--status-template", | 21 parser.add_option("--status-template", |
22 help=("The template file to use for the status page." | 22 help=("The template file to use for the status page." |
23 " Relative filenames are interpreted" | 23 " Relative filenames are interpreted" |
24 " relative to the web subdirectory." | 24 " relative to the web subdirectory." |
25 " Default is status-by-revision.html.")) | 25 " Default is status-by-startdate.html.")) |
26 return parser.parse_args() | 26 return parser.parse_args() |
27 | 27 |
28 def create_static_site(treepkg_config, status_template, destdir): | 28 def create_static_site(treepkg_config, status_template, destdir): |
29 status = Status(treepkg_config=treepkg_config, template=status_template) | 29 status = Status(treepkg_config=treepkg_config, template=status_template) |
30 status.create_static_site(destdir) | 30 status.create_static_site(destdir) |