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

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

src/p/r/Products.UpfrontContacts-0.6/Products/UpfrontContacts/Extensions/Install.py   Products.UpfrontContacts(Download)
 
    if not cat_map.hasCategorySet(cat_set):
        cat_map.addCategorySet(cat_set)
        cat_map.addCategory(cat_set, ACTIVE_STATUS_CATEGORY)
        for state in person_states: