changeset 48946 | 642e31cb55f0 |
parent 48875 | 6000f5b25c9b |
child 50037 | 46883d91e2b0 |
--- a/hgext/gpg.py Mon Feb 21 13:03:43 2022 -0700 +++ b/hgext/gpg.py Mon Feb 21 13:08:28 2022 -0700 @@ -64,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""