aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/util.py
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2011-06-18 15:01:32 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2011-06-18 15:01:32 -0500
commit4fd487f72e26dfc8390756e4cfea367fe470558b (patch)
tree5dd023491a06ed491c0f6113eabbc59180b2fe71 /mediagoblin/util.py
parentefc8f1a0d0872b602f4d00e10dea0682c3afb787 (diff)
downloadmediagoblin-4fd487f72e26dfc8390756e4cfea367fe470558b.tar.lz
mediagoblin-4fd487f72e26dfc8390756e4cfea367fe470558b.tar.xz
mediagoblin-4fd487f72e26dfc8390756e4cfea367fe470558b.zip
Validation error reporting functionality.
Changed a few things so we can report errors to users properly in the config loading system. - We now return from read_mediagoblin_config both a loaded config and the validation results - We now have a helper function generate_validation_report that can generate a proper validation report saying if there are errors in a way that's useful to users. - Moved conf->config in the read_mediagoblin_config function, which looks nicer IMO.
Diffstat (limited to 'mediagoblin/util.py')
0 files changed, 0 insertions, 0 deletions