
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()
    skoleintra.pgDocuments.skoleDocuments()
    skoleintra.pgWeekplans.skoleWeekplans()


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()
    skoleintra.pgDocuments.skoleDocuments()
    skoleintra.pgWeekplans.skoleWeekplans()

Use config.log for print added in last commit
Use config.log for print added in last commit

  
  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+']'
+     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()
      skoleintra.pgDocuments.skoleDocuments()
      skoleintra.pgWeekplans.skoleWeekplans()
  
Use config.log for print added in last commit
## Code Before:

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()
    skoleintra.pgDocuments.skoleDocuments()
    skoleintra.pgWeekplans.skoleWeekplans()

## Instruction:
Use config.log for print added in last commit
## Code After:

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()
    skoleintra.pgDocuments.skoleDocuments()
    skoleintra.pgWeekplans.skoleWeekplans()
