Documenting the setup_globals function.
This commit is contained in:
parent
218b8124ca
commit
68bf5b1942
@ -44,6 +44,12 @@ app = None
|
|||||||
|
|
||||||
|
|
||||||
def setup_globals(**kwargs):
|
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
|
from mediagoblin import mg_globals
|
||||||
|
|
||||||
for key, value in kwargs.iteritems():
|
for key, value in kwargs.iteritems():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user