Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/f/t/ftw.contentpage-1.6.5/ftw/contentpage/upgrades/to1503.py   ftw.contentpage(Download)
from ftw.upgrade import UpgradeStep
from ftw.contentpage.setuphandler import set_calendar_types
 
 
class SetCalendarTypes(UpgradeStep):
 
    def __call__(self):
        set_calendar_types(self.portal)