320
320
gpg_strategy = gpg.GPGStrategy(None)
321
321
result = repo.verify_revision(rev_id, gpg_strategy)
322
322
if result[0] == gpg.SIGNATURE_VALID:
324
324
if result[0] == gpg.SIGNATURE_KEY_MISSING:
326
326
if result[0] == gpg.SIGNATURE_NOT_VALID:
328
328
if result[0] == gpg.SIGNATURE_NOT_SIGNED:
332
332
class LogGenerator(object):