]> oss.titaniummirror.com Git - webber.git/blobdiff - webber.py
webber.py: preset some variables with defaults
[webber.git] / webber.py
index 643aa25a1eef34c149c7359dfd1a77e88b5e2636..687e182fa89b93b70bf5c96e5606d2b52144e9ef 100644 (file)
--- 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")