Code review

This commit is contained in:
Matt Jibson 2015-08-12 16:31:01 -04:00
parent f043bc1379
commit 7c3b555ee9
3 changed files with 14 additions and 14 deletions

6
app.py
View file

@ -125,11 +125,7 @@ userevents = UserEventsBuilderModule(app)
superusers = SuperUserManager(app)
signer = Signer(app, OVERRIDE_CONFIG_DIRECTORY)
metric_queue = MetricQueue()
try:
start_cloudwatch_sender(metric_queue, app)
except KeyError:
logger.debug('Cloudwatch not configured')
start_cloudwatch_sender(metric_queue, app)
tf = app.config['DB_TRANSACTION_FACTORY']