def getCache(cls, participation): cache = CachingSecurityPolicy.getCache(participation) if (cache is not None and 'debug_order' not in cache): cache['debug_order'] = [] cache['debug_level'] = 0 return cache