Switch to unified view

a/Allura/allura/command/base.py b/Allura/allura/command/base.py
...
...
56
            load_environment(conf.global_conf, conf.local_conf)
56
            load_environment(conf.global_conf, conf.local_conf)
57
            self.setup_globals()
57
            self.setup_globals()
58
            from allura import model
58
            from allura import model
59
            M=model
59
            M=model
60
            ming.configure(**conf)
60
            ming.configure(**conf)
61
            pylons.c.user = M.User.anonymous()
61
        else:
62
        else:
62
            # Probably being called from another script (websetup, perhaps?)
63
            # Probably being called from another script (websetup, perhaps?)
63
            log = logging.getLogger('allura.command')
64
            log = logging.getLogger('allura.command')
64
            conf = pylons.config
65
            conf = pylons.config
65
        self.tools = []
66
        self.tools = []