config: Restructure config loading to allow defaults.
authorMatthijs Kooijman <matthijs@stdin.nl>
Mon, 26 Jul 2010 17:04:03 +0000 (19:04 +0200)
committerMatthijs Kooijman <matthijs@stdin.nl>
Mon, 26 Jul 2010 17:17:59 +0000 (19:17 +0200)
commitd64d30066c2cbcf02e1c4d05198ca430584b5cbd
treea70abe11602192671dc73998dd0204292041dc9c
parenta2f36355bac67e7369ad224e2f4276a1768e4f50
config: Restructure config loading to allow defaults.

Handlers now load their own configuration files, so they can pass
default configuration values. This also allows for more complicated
configuration loading in handlers by overriding the load_config method.
src/lib/backupninja/action.py
src/lib/backupninja/config.py
src/lib/backupninja/handlers/__init__.py