Ejemplo 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()
Ejemplo n.º 2
0
def init():
    if _Debug:
        lg.out(_DebugLevel, 'identitycache.init')
    identitydb.clear()
Ejemplo n.º 3
0
def Clear(excludeList=None):
    """
    Clear all cached identities.
    """
    identitydb.clear(excludeList)