Add 'meta' scope to objreg.

This commit is contained in:
Florian Bruhin 2014-09-25 07:45:30 +02:00
parent 78949a8c1b
commit 1e7861660e

View File

@ -93,6 +93,8 @@ def _get_registry(scope):
if widget is None:
raise RegistryUnavailableError(scope)
return widget.registry
elif scope == 'meta':
return meta_registry
else:
raise ValueError("Invalid scope '{}'!".format(scope))