--- a/Allura/allura/lib/helpers.py
+++ b/Allura/allura/lib/helpers.py
@@ -141,18 +141,6 @@
name[:i+1]
for i in range(num_parts) ]
return '/'.join(parts)
-
-def mixin_reactors(cls, module, prefix=None):
- 'attach the reactor-decorated functions in module to the given class'
- from .decorators import ConsumerDecoration
- if prefix is None: prefix = module.__name__ + '.'
- for name in dir(module):
- value = getattr(module, name)
- try:
- if ConsumerDecoration.get_decoration(value, False):
- setattr(cls, prefix + name, staticmethod(value))
- except TypeError:
- pass
def set_context(project_shortname, mount_point=None, app_config_id=None):
from allura import model