def init(): """ This should be called before all other things. Call to initialize identitydb and cache several important IDs. """ if _Debug: lg.out(4, 'identitycache.init') # identitydb.clear() identitydb.init()
def init(success_func=None, fail_func=None): """ This should be called before all other things. Call to initialize identitydb and cache several important IDs. """ dhnio.Dprint(4, 'identitycache.init') identitydb.init() CacheCentralID(success_func, fail_func) CacheMoneyServerID() CacheMarketServerID()