#NEWLINE# def add_pypi_action_redirect( config , action , target , **kwargs ) : #NEWLINE# #INDENT# custom_predicates = kwargs . pop ( 'custom_predicates' , [ ] ) #NEWLINE# custom_predicates += [ pypi_action ( action ) ] #NEWLINE# config . add_redirect ( '/pypi' , target , custom_predicates = config , ** kwargs )