def _validate_ami_region_map(blob):
    return dict(
        (AWS_REGIONS.lookupByValue(k), v)
        for k, v in json.loads(blob).items()
    )
Compiles self.PATTERN into self.pattern.
dataset/ETHPy150Open ClusterHQ/flocker/admin/installer/_images.py/_validate_ami_region_map--crossover with--dataset/ETHPy150Open ctxis/canape/CANAPE.Scripting/Lib/lib2to3/fixer_base.py/BaseFix.compile_pattern