def _clear_context():
    for var in [x for x in __context__ if x.startswith('nspawn.')]:
        log.trace('Clearing __context__[\'{0}\']'.format(var))
        __context__.pop(var, None)
Clear any lxc variables set in __context__
dataset/ETHPy150Open saltstack/salt/salt/modules/nspawn.py/_clear_context