80d1f01d5524d474f39a0cc3536bb1b34cca1feb
2 In some places, we need to access the database, public_store, queue_store
8 #############################
9 # General mediagoblin globals
10 #############################
18 # should be the same as the
23 translations
= gettext
.find(
25 pkg_resources
.resource_filename(
26 'mediagoblin', 'translations'), ['en'])
29 def setup_globals(**kwargs
):
30 from mediagoblin
import globals as mg_globals
32 for key
, value
in kwargs
.iteritems():
33 setattr(mg_globals
, key
, value
)