Switch to unified view

a/Allura/allura/command/base.py b/Allura/allura/command/base.py
...
...
30
30
31
    @ming.utils.LazyProperty
31
    @ming.utils.LazyProperty
32
    def carrot_connection(self):
32
    def carrot_connection(self):
33
        import allura.lib.app_globals
33
        import allura.lib.app_globals
34
        return allura.lib.app_globals.connect_amqp(self.config)
34
        return allura.lib.app_globals.connect_amqp(self.config)
35
36
    @ming.utils.LazyProperty
37
    def config(self):
38
        import tg
39
        return tg.config
35
40
36
    def basic_setup(self):
41
    def basic_setup(self):
37
        global log, M
42
        global log, M
38
        if self.args:
43
        if self.args:
39
            # Probably being called from the command line - load the config file
44
            # Probably being called from the command line - load the config file