def filter_factory(global_conf, **local_conf):
 conf = global_conf.copy()
 conf.update(local_conf)
 register_swift_info('formpost')
 return (lambda app: FormPost(app, conf))

def filter_factory ( global_conf , ** local_conf ) : conf = global_conf . copy ( ) conf . update ( local_conf ) register_swift_info ( 'formpost' ) return ( lambda app : FormPost ( app , conf ) )
returns a static web wsgi filter for use with paste .