Did I find the right examples for you? yes no

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

src/c/y/cyn.in-HEAD/products/Plone4ArtistsCalendar/pythonlib/p4a/z2utils/patches.py   cyn.in(Download)
def _unapply_DynamicView_patch():
    import Products.CMFDynamicViewFTI
    patched = getattr(Products.CMFDynamicViewFTI, '_p4a_z2utils_patched', False)
    if patched:
        from Products.CMFDynamicViewFTI.fti import DynamicViewTypeInformation
    try:
        # don't patch if CMFDynamicViewFTI is not available
        from Products import CMFDynamicViewFTI
    except:
        return

src/p/4/p4a.z2utils-1.0.2/p4a/z2utils/patches.py   p4a.z2utils(Download)
def _unapply_DynamicView_patch():
    import Products.CMFDynamicViewFTI
    patched = getattr(Products.CMFDynamicViewFTI, '_p4a_z2utils_patched', False)
    if patched:
        from Products.CMFDynamicViewFTI.fti import DynamicViewTypeInformation
    try:
        # don't patch if CMFDynamicViewFTI is not available
        from Products import CMFDynamicViewFTI
    except:
        return