<commit_before>#! /usr/bin/env python
#
#
#

import skoleintra.config
import skoleintra.pgContactLists
import skoleintra.pgDialogue
import skoleintra.pgDocuments
import skoleintra.pgFrontpage
import skoleintra.pgWeekplans
import skoleintra.schildren

SKOLEBESTYELSE_NAME = 'Skolebestyrelsen'

cnames = skoleintra.schildren.skoleGetChildren()
if cnames.count(SKOLEBESTYELSE_NAME):
    print 'Ignorerer ['+SKOLEBESTYELSE_NAME+']'
    cnames.remove(SKOLEBESTYELSE_NAME)

for cname in cnames:
    skoleintra.schildren.skoleSelectChild(cname)

    skoleintra.pgContactLists.skoleContactLists()
    skoleintra.pgFrontpage.skoleFrontpage()
    skoleintra.pgDialogue.skoleDialogue()<commit_msg>Use config.log for print added in last commit<commit_after>#! /usr/bin/env python
#
#
#

import skoleintra.config
import skoleintra.pgContactLists
import skoleintra.pgDialogue
import skoleintra.pgDocuments
import skoleintra.pgFrontpage
import skoleintra.pgWeekplans
import skoleintra.schildren

SKOLEBESTYELSE_NAME = 'Skolebestyrelsen'

cnames = skoleintra.schildren.skoleGetChildren()
if cnames.count(SKOLEBESTYELSE_NAME):
    config.log(u'Ignorerer ['+SKOLEBESTYELSE_NAME+']')
    cnames.remove(SKOLEBESTYELSE_NAME)

for cname in cnames:
    skoleintra.schildren.skoleSelectChild(cname)

    skoleintra.pgContactLists.skoleContactLists()
    skoleintra.pgFrontpage.skoleFrontpage()
    skoleintra.pgDialogue.skoleDialogue()
{'fraction_non_alphanumeric': 0.08504606661941885, 'fraction_numerical': 0.0, 'mean_word_length': 6.470899470899471, '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': '2911650', 'n_tokens_mistral': 556, 'n_tokens_neox': 537, 'n_words': 75}