Last change
on this file since 10291 was
10084,
checked in by Henrik Bettermann, 12 years ago
|
Fill trunk.
|
-
Property svn:keywords set to
Id
|
File size:
453 bytes
|
Line | |
---|
1 | from Products.CMFCore.utils import getToolByName |
---|
2 | |
---|
3 | import logging |
---|
4 | |
---|
5 | PROFILE_ID = 'profile-waeup.plonetheme.ngren3:default' |
---|
6 | |
---|
7 | |
---|
8 | def common(context, logger=None): |
---|
9 | if logger is None: |
---|
10 | # Called as upgrade step: define our own logger. |
---|
11 | logger = logging.getLogger('waeup.plonetheme.ngren3') |
---|
12 | |
---|
13 | setup = getToolByName(context, 'portal_setup') |
---|
14 | setup.runAllImportStepsFromProfile(PROFILE_ID) |
---|
15 | |
---|
16 | logger.info("Migrated from previous version") |
---|
Note: See
TracBrowser for help on using the repository browser.