Let setup_globals check for known globals
authorElrond <elrond+mediagoblin.org@samba-tng.org>
Sun, 12 Jun 2011 15:36:49 +0000 (17:36 +0200)
committerElrond <elrond+mediagoblin.org@samba-tng.org>
Sun, 12 Jun 2011 15:43:54 +0000 (17:43 +0200)
commit49285baf2755e4cead741dd5c615a65736a5dc08
treef629017dda81227b1f5bcfe6bfba6b78da635274
parent68ffb13690fa0c364c514ce253364f928e50841c
Let setup_globals check for known globals

To avoid typos in calling setup_globals(), only allow
globals, which are already known to the system.
Plugins should have their own globals.
mediagoblin/globals.py
mediagoblin/tests/test_globals.py