def Migrate():
    with open('/var/db/factory/umpire/active_umpire.json') as f:
        config = json.load(f)
    if ('rulesets' in config):
        for r in config['rulesets']:
            r.pop('match', None)
    SaveNewActiveConfig(config)
def Migrate():
    with open('/var/db/factory/umpire/active_umpire.json') as f:
        config = json.load(f)
    if ('rulesets' in config):
        for r in config['rulesets']:
            r.pop('match', None)
    SaveNewActiveConfig(config)