diff options
| author | Ashley Camba Garrido <ashwoods@gmail.com> | 2017-11-22 10:36:00 +0100 |
|---|---|---|
| committer | Ashley Camba Garrido <ashwoods@gmail.com> | 2017-11-22 10:36:00 +0100 |
| commit | f3ae034fef5b2bfa3b86496cee0a56b96e053019 (patch) | |
| tree | fe9fb87f32f4d0f2616661815a045d4eb1e9dc96 | |
| parent | a3270c56b146672821e3248cc97dfe81b159919c (diff) | |
| download | raven-feature-disable-dsn.tar.gz | |
Fix flake8 errorfeature-disable-dsn
| -rw-r--r-- | raven/base.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/raven/base.py b/raven/base.py index 0683768..9c1efd0 100644 --- a/raven/base.py +++ b/raven/base.py @@ -35,7 +35,7 @@ except ImportError: import raven from raven.conf import defaults from raven.conf.remote import RemoteConfig -from raven.exceptions import APIError, RateLimited, ConfigurationError +from raven.exceptions import APIError, RateLimited from raven.utils import json, get_versions, get_auth_header, merge_dicts from raven.utils.compat import text_type, iteritems from raven.utils.encoding import to_unicode @@ -248,7 +248,6 @@ class Client(object): If dsn is explicitly set to None or given an empty string as an environment variable it will disable reporting. """ - if dsn is Ellipsis: if 'SENTRY_DSN' in os.environ.keys(): msg = "Configuring Raven from environment variable 'SENTRY_DSN'" |
