def load_state(name):
    global users, pending_users
    users = set()
    pending_users = set()

    try:
        loaded = yaml.load(open(name))
        users = set(loaded['users'])
        pending_users = set(loaded['pending_users'])
    except __HOLE__:
        logger.warning('Could not load state, continuing.')
dataset/ETHPy150Open ebroder/anygit/anygit/client/spider.py/load_state