Documenting the setup_globals function.

This commit is contained in:
Christopher Allan Webber 2011-06-19 16:24:31 -05:00
parent 218b8124ca
commit 68bf5b1942

View File

@ -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():