call the function allow_lazy with 2 arguments: normalize_newlines and six.text_type, substitute the result for normalize_newlines.
normalize_newlines = allow_lazy ( normalize_newlines , six . text_type )