Skip to content
This repository was archived by the owner on Sep 12, 2018. It is now read-only.

Commit 388d303

Browse files
committed
Merge pull request #638 from gregburek/bugsnag
Do not use conflicting module names for bugsnag or newrelic
2 parents 9f3c599 + 9d3898e commit 388d303

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

docker_registry/app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
import sys
77

88
from . import toolkit
9-
from .extras import bugsnag
109
from .extras import cors
10+
from .extras import ebugsnag
1111
from .lib import config
1212
from .server import __version__
1313
import flask
@@ -80,7 +80,7 @@ def init():
8080
mail_handler.setLevel(logging.ERROR)
8181
app.logger.addHandler(mail_handler)
8282
# Optional bugsnag support
83-
bugsnag.boot(app, cfg.bugsnag, cfg.flavor, __version__)
83+
ebugsnag.boot(app, cfg.bugsnag, cfg.flavor, __version__)
8484
# Optional cors support
8585
cors.boot(app, cfg.cors)
8686

docker_registry/wsgi.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88

99
# start new relic if instructed to do so
1010
from .extensions import factory
11-
from .extras import newrelic
11+
from .extras import enewrelic
1212
from .server import env
13-
newrelic.boot(env.source('NEW_RELIC_CONFIG_FILE'),
14-
env.source('NEW_RELIC_LICENSE_KEY'))
13+
enewrelic.boot(env.source('NEW_RELIC_CONFIG_FILE'),
14+
env.source('NEW_RELIC_LICENSE_KEY'))
1515
factory.boot()
1616

1717
import logging

0 commit comments

Comments
 (0)