|
a/Allura/allura/lib/app_globals.py |
|
b/Allura/allura/lib/app_globals.py |
|
... |
|
... |
184 |
asint(config.get('zarkov.port', '6543')),
|
184 |
asint(config.get('zarkov.port', '6543')),
|
185 |
password=config.get('zarkov.password'),
|
185 |
password=config.get('zarkov.password'),
|
186 |
mode=config.get('zarkov.mode', 'bson'))
|
186 |
mode=config.get('zarkov.mode', 'bson'))
|
187 |
self._zarkov.event(event_type, context, extra)
|
187 |
self._zarkov.event(event_type, context, extra)
|
188 |
except Exception, ex:
|
188 |
except Exception, ex:
|
|
|
189 |
self._zarkov = None
|
189 |
log.error('Error sending zarkov event(%r): %r', ex, dict(
|
190 |
log.error('Error sending zarkov event(%r): %r', ex, dict(
|
190 |
type=event_type, context=context, extra=extra))
|
191 |
type=event_type, context=context, extra=extra))
|
191 |
|
192 |
|
192 |
@LazyProperty
|
193 |
@LazyProperty
|
193 |
def theme(self):
|
194 |
def theme(self):
|