Use setup_global_and_app_config in gmg's migrate.
authorElrond <elrond+mediagoblin.org@samba-tng.org>
Sun, 23 Oct 2011 21:29:15 +0000 (23:29 +0200)
committerElrond <elrond+mediagoblin.org@samba-tng.org>
Sat, 26 Nov 2011 10:50:25 +0000 (11:50 +0100)
commit5568a014195fa9f39021033a6ba2706125bb13ed
treefa60c6e47349305366f225795e47cc48950fc720
parent56dc1c9d3eb73b86bf8e165ffc79ad4929239603
Use setup_global_and_app_config in gmg's migrate.

Instead of using read_mediagoblin_config, forgetting to
check the validation report and then finding the main app
section by hand, just use setup_global_and_app_config.
mediagoblin/gmg_commands/migrate.py