branch | stable |
changeset 49366 | 288de6f5d724 |
parent 48946 | 642e31cb55f0 |
child 50037 | 46883d91e2b0 |
--- a/hgext/gpg.py Thu Jun 16 15:15:03 2022 +0200 +++ b/hgext/gpg.py Thu Jun 16 15:28:54 2022 +0200 @@ -5,7 +5,6 @@ '''commands to sign and verify changesets''' -from __future__ import absolute_import import binascii import os @@ -65,7 +64,7 @@ help.CATEGORY_NAMES[_HELP_CATEGORY] = b'Signing changes (GPG)' -class gpg(object): +class gpg: def __init__(self, path, key=None): self.path = path self.key = (key and b" --local-user \"%s\"" % key) or b""