src/pyams_apm/tween.py
changeset 2 e78763bdfb3f
parent 0 1cc388b5cf69
child 12 64c0d548a45c
equal deleted inserted replaced
1:57857e3d151c 2:e78763bdfb3f
    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: