示例#1
0
def cleanUp():
    '''Cleans up the component architecture.'''
    _cleanUp()
    try:
        from Zope2.App import zcml
        zcml._initialized = 0
    except ImportError:
        pass
    try:
        from Products.Five import zcml
        zcml._initialized = 0
    except ImportError:
        pass
示例#2
0
文件: five.py 项目: dtgit/dtedu
def cleanUp():
    """Cleans up the component architecture."""
    _cleanUp()
    import Products.Five.zcml as zcml

    zcml._initialized = 0