def selectSignatureKey(cfg, label):
    if not cfg.signatureKeyMap:
        return cfg.signatureKey
    label = str(label)
    if label in "local@local":
        label = str(cfg.buildLabel)
    for sigLabel, fingerprint in cfg.signatureKeyMap:
        if re.match(sigLabel, label):
            return fingerprint
    return cfg.signatureKey
dataset/ETHPy150Open sassoftware/conary/conary/conarycfg.py/selectSignatureKey/swapped operands of `in`