Esempio n. 1
0
def init():
    """
    This should be called before all other things.

    Call to initialize identitydb and cache several important IDs.
    """
    if _Debug:
        lg.out(_DebugLevel, 'identitycache.init')
    if False:
        # TODO: add settings here
        identitydb.clear()
Esempio n. 2
0
def init():
    if _Debug:
        lg.out(_DebugLevel, 'identitycache.init')
    identitydb.clear()
Esempio n. 3
0
def Clear(excludeList=None):
    """
    Clear all cached identities.
    """
    identitydb.clear(excludeList)