Refactor gmg's cf option into a function
authorElrond <elrond+mediagoblin.org@samba-tng.org>
Sun, 23 Oct 2011 10:47:25 +0000 (12:47 +0200)
committerElrond <elrond+mediagoblin.org@samba-tng.org>
Sun, 23 Oct 2011 10:47:25 +0000 (12:47 +0200)
commit9043e7a012c0b01a993e04831180005ff36730d6
treec71f64bdfa9b55ffde8e17f97726bbb2d437956c
parenteb5bb3fc997da26a39d6d77888574b634f00db57
Refactor gmg's cf option into a function

Many (all?) gmg subcommands take a -cf option to change the
used config file. This options used to be created in each
subcommand's parse_setup. Add a helper function and use it
around.
mediagoblin/gmg_commands/import_export.py
mediagoblin/gmg_commands/migrate.py
mediagoblin/gmg_commands/shell.py
mediagoblin/gmg_commands/users.py
mediagoblin/gmg_commands/util.py