Allura/allura/lib/utils.py
def antispam_hook(remainder, params):
            '''Converts various errors in validate_request to a single Invalid message'''
            try:
                new_params = cls.validate_request(params=params)
                params.update(new_params)
            except (ValueError, TypeError, binascii.Error):
                raise Invalid(error_msg, params, None)
Converts various errors in validate_request to a single Invalid message
Converts various errors in validate_request to a single Invalid message
Converts various errors in validate_request to a single Invalid message
def antispam_hook(remainder, params):
            try:
                new_params = cls.validate_request(params=params)
                params.update(new_params)
            except (ValueError, TypeError, binascii.Error):
                raise Invalid(error_msg, params, None)
def antispam_hook ( remainder , params ) : try : new_params = cls . validate_request ( params = params ) params . update ( new_params ) except ( ValueError , TypeError , binascii . Error ) : raise Invalid ( error_msg , params , None )
Converts various errors in validate_request to a single Invalid message
Converts various errors in validate_request to a single Invalid message
'''Converts various errors in validate_request to a single Invalid message'''
remainder
params