Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/s/y/synnefo-HEAD/snf-common/synnefo/lib/amqp/__init__.py   synnefo(Download)
from synnefo import settings
 
if settings.AMQP_BACKEND == 'puka':
    from amqp_puka import AMQPPukaClient as Client
elif settings.AMQP_BACKEND == 'haigha':
    from amqp_haigha import AMQPHaighaClient as Client
else:
    raise Exception('Unknown Backend %s' % settings.AMQP_BACKEND)