aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2011-06-19 16:24:31 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2011-06-19 16:24:31 -0500
commit68bf5b19420c5a5e28e33e57b2690442893adc33 (patch)
treed6fe07a9d04025dff31a81d632e153f29d8db4b4
parent218b8124ca5a6bd747a442c49c75a4bea37c75bf (diff)
downloadmediagoblin-68bf5b19420c5a5e28e33e57b2690442893adc33.tar.lz
mediagoblin-68bf5b19420c5a5e28e33e57b2690442893adc33.tar.xz
mediagoblin-68bf5b19420c5a5e28e33e57b2690442893adc33.zip
Documenting the setup_globals function.
-rw-r--r--mediagoblin/mg_globals.py6
1 files changed, 6 insertions, 0 deletions
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():