#NEWLINE# def filter_factory( global_conf , **local_conf ) : #NEWLINE# #INDENT# conf = global_conf . copy ( ) #NEWLINE# conf . update ( local_conf ) #NEWLINE# def cname_filter( app ) : #NEWLINE# #INDENT# return CNAMELookupMiddleware ( app , conf ) #NEWLINE# #UNINDENT# return cname_filter