def filter_factory(global_conf, **local_conf):
    conf = global_conf.copy()
    conf.update(local_conf)
    register_swift_info('staticweb')

    def staticweb_filter(app):
        return StaticWeb(app, conf)
    return staticweb_filter
Related to #117
dataset/ETHPy150Open openstack/swift/swift/common/middleware/staticweb.py/filter_factory--crossover with--dataset/ETHPy150Open jookies/jasmin/jasmin/routing/test/test_routing_deliver_sm.py/DeliverSmSmppThrowingTestCases.test_delivery_SmppClientConnector_with_network_error_code