def pop_frame():
    """
    Pop a specific frame from the dictionary.
    """
    try:
        _thread_locals.d_stack.pop(get_tpid_key())
    except __HOLE__:
        print "[WARNING] Exception at 'expedient.common.middleware.threadlocals.ThreadLocals': tried to access to permittees stack when it was already empty. This may happen because an incorrect URL (request.url) was requested and Django's CommonMiddleware forwarded it to a new one without processing the request in this middleware."
        pass
dataset/ETHPy150Open fp7-ofelia/ocf/expedient/src/python/expedient/common/middleware/threadlocals.py/pop_frame