<commit_before>class LdapSync
  module Common

    def each_user_in_person_list(person_list)
      person_list.each do |person|
        next if person.cancelled?
        user = User.find_by_uid(person.mail)
        yield(user) if user
      end
    end

  end
end<commit_msg>refactor a little<commit_after>class LdapSync
  module Common

    def each_user_in_person_list(person_list)
      person_list.each do |person|
        user = User.find_by_uid(person.mail)
        next if not user or person.cancelled?
        yield(user)
      end
    end

  end
end
{'fraction_non_alphanumeric': 0.06093189964157706, 'fraction_numerical': 0.0, 'mean_word_length': 2.6298701298701297, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5250906', 'n_tokens_mistral': 187, 'n_tokens_neox': 184, 'n_words': 44}