def validate_deprecated(validator, message, instance, schema):
 log.warning(message)

def validate_deprecated ( validator , message , instance , schema ) : log . warning ( message )
not really a validator .