From 2dd3390846afc798333bfb8ffac9ebd9ad2682cc Mon Sep 17 00:00:00 2001 From: Holger Schurig Date: Tue, 6 Jul 2010 13:23:12 +0200 Subject: [PATCH] webber.py: preset some variables with defaults --- webber.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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") -- 2.39.2