Switch to unified view

a/Allura/allura/config/resources.py b/Allura/allura/config/resources.py
...
...
20
                    ep.module_name,
20
                    ep.module_name,
21
                    os.path.join('nf', ep.name)))
21
                    os.path.join('nf', ep.name)))
22
        except ImportError:
22
        except ImportError:
23
            log.warning('Cannot import entry point %s', ep)
23
            log.warning('Cannot import entry point %s', ep)
24
            raise
24
            raise
25
    for ep in pkg_resources.iter_entry_points('allura.theme'):
26
        try:
27
            manager.register_directory(
28
                'theme/%s' % ep.name,
29
                pkg_resources.resource_filename(
30
                    ep.module_name,
31
                    os.path.join('nf', ep.name)))
32
        except ImportError:
33
            log.warning('Cannot import entry point %s', ep)
34
            raise