From 68bf5b19420c5a5e28e33e57b2690442893adc33 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Sun, 19 Jun 2011 16:24:31 -0500 Subject: [PATCH] Documenting the setup_globals function. --- mediagoblin/mg_globals.py | 6 ++++++ 1 file changed, 6 insertions(+) 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(): -- 2.25.1