aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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():