code: def reject_source(ident, comment):
      '''Reject a source for automatic harvesting'''
      source = get_source(ident)
      source.validation.on = datetime.now()
      source.validation.comment = comment
      source.validation.state = VALIDATION_REFUSED
      if current_user.is_authenticated:
          source.validation.by = current_user._get_current_object()
      source.save()
      return sourcf reject_source(ident, comment):
      '''Reject a source for automatic harvesting'''
      source = get_source(ident)
      source.validation.on = datetime.now()
      source.validation.comment = comment
      source.validation.state = VALIDATION_REFUSED
      if current_user.is_authenticated:
          source.validation.by = current_user._get_current_object()
      source.save()
      return source
docs: Reject a source for automatic harvesting