~replaceafill/ubuntu/trusty/schooltool/2.8_custom-css

« back to all changes in this revision

Viewing changes to src/schooltool/generations/evolve36/__init__.py

  • Committer: Gediminas Paulauskas
  • Date: 2014-04-18 16:25:33 UTC
  • mfrom: (1.1.33)
  • Revision ID: menesis@pov.lt-20140418162533-noklnc6b89w2epee
Tags: 1:2.7.0-0ubuntu1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
from zope.app.publication.zopepublication import ZopePublication
23
23
from zope.component.hooks import getSite, setSite
24
24
 
 
25
from schooltool.generations import linkcatalogs
25
26
from schooltool.app.interfaces import ISchoolToolApplication
26
27
from schooltool.generations.evolve36.evolve import evolveTimetables
27
28
 
28
29
 
29
30
def evolve(context):
 
31
    linkcatalogs.ensureEvolved(context)
30
32
    root = context.connection.root().get(ZopePublication.root_name, None)
31
33
 
32
34
    # Invalidate connection cache