equal
deleted
inserted
replaced
10 # FOR A PARTICULAR PURPOSE. |
10 # FOR A PARTICULAR PURPOSE. |
11 # |
11 # |
12 |
12 |
13 __docformat__ = 'restructuredtext' |
13 __docformat__ = 'restructuredtext' |
14 |
14 |
15 |
|
16 # import standard library |
|
17 import pkg_resources |
|
18 from pkg_resources import DistributionNotFound |
|
19 |
|
20 import sys |
15 import sys |
21 |
16 |
22 # import interfaces |
|
23 |
|
24 # import packages |
|
25 import elasticapm |
17 import elasticapm |
|
18 import pkg_resources |
26 from elasticapm.utils import compat, get_url_dict |
19 from elasticapm.utils import compat, get_url_dict |
|
20 from pkg_resources import DistributionNotFound |
|
21 from pyramid.compat import reraise |
27 from pyramid.settings import asbool |
22 from pyramid.settings import asbool |
28 from pyramid.compat import reraise |
|
29 |
23 |
30 |
24 |
31 def list_from_setting(config, setting): |
25 def list_from_setting(config, setting): |
32 value = config.get(setting) |
26 value = config.get(setting) |
33 if not value: |
27 if not value: |