From: Holger Schurig Date: Tue, 6 Jul 2010 11:23:12 +0000 (+0200) Subject: webber.py: preset some variables with defaults X-Git-Url: https://oss.titaniummirror.com/gitweb?p=webber.git;a=commitdiff_plain;h=2dd3390846afc798333bfb8ffac9ebd9ad2682cc webber.py: preset some variables with defaults --- diff --git a/webber.py b/webber.py index 643aa25..687e182 100644 --- a/webber.py +++ b/webber.py @@ -777,7 +777,12 @@ def main(): # link contents of webber.ini into cfg and set some defaults, # then let plugins fixup things in cfg.* cfg.inheritFrom(options) - cfg.setDefault("exclude_dir", ["plugins"]) + cfg.setDefault("exclude_dirs", []) + cfg.setDefault("exclude_files", ["webber.conf", "directory.conf", "*.tmpl"]) + cfg.setDefault("copy_files", []) + cfg.setDefault("input_encoding", "iso-8859-1") + cfg.setDefault("output_encoding", "iso-8859-1") + cfg.setDefault("template", "default") run_hooks("checkconfig") run_hooks("start")