334
334
gpg_strategy = gpg.GPGStrategy(None)
335
335
result = repo.verify_revision_signature(rev_id, gpg_strategy)
336
336
if result[0] == gpg.SIGNATURE_VALID:
338
338
if result[0] == gpg.SIGNATURE_KEY_MISSING:
340
340
if result[0] == gpg.SIGNATURE_NOT_VALID:
341
341
return "invalid signature!"
342
342
if result[0] == gpg.SIGNATURE_NOT_SIGNED: