|
a/Allura/allura/command/base.py |
|
b/Allura/allura/command/base.py |
|
... |
|
... |
50 |
from allura.lib.app_globals import Globals
|
50 |
from allura.lib.app_globals import Globals
|
51 |
pylons.g._push_object(Globals())
|
51 |
pylons.g._push_object(Globals())
|
52 |
ming.configure(**conf)
|
52 |
ming.configure(**conf)
|
53 |
else:
|
53 |
else:
|
54 |
log = logging.getLogger('allura.command')
|
54 |
log = logging.getLogger('allura.command')
|
|
|
55 |
conf = pylons.config
|
55 |
self.tools = []
|
56 |
self.tools = []
|
56 |
for ep in iter_entry_points('allura'):
|
57 |
for ep in iter_entry_points('allura'):
|
57 |
try:
|
58 |
try:
|
58 |
self.tools.append((ep.name, ep.load()))
|
59 |
self.tools.append((ep.name, ep.load()))
|
59 |
except ImportError:
|
60 |
except ImportError:
|