From: Christopher Allan Webber Date: Sun, 19 Jun 2011 21:24:31 +0000 (-0500) Subject: Documenting the setup_globals function. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=68bf5b19420c5a5e28e33e57b2690442893adc33;p=mediagoblin.git Documenting the setup_globals function. --- diff --git a/mediagoblin/mg_globals.py b/mediagoblin/mg_globals.py index b01be8d3..739f44ee 100644 --- a/mediagoblin/mg_globals.py +++ b/mediagoblin/mg_globals.py @@ -44,6 +44,12 @@ app = None def setup_globals(**kwargs): + """ + Sets up a bunch of globals in this module. + + Takes the globals to setup as keyword arguments. If globals are + specified that aren't set as variables above, then throw an error. + """ from mediagoblin import mg_globals for key, value in kwargs.iteritems():