# HG changeset patch # User Goffi # Date 1666975637 -7200 # Node ID 1ab16449577b5e57cd92277583d9b1023ab800d8 # Parent 8179cff7ef5c17ffc6972cda87a3fb0fd7961b06 plugin XEP-0373: typos diff -r 8179cff7ef5c -r 1ab16449577b sat/plugins/plugin_xep_0373.py --- a/sat/plugins/plugin_xep_0373.py Fri Oct 28 18:47:17 2022 +0200 +++ b/sat/plugins/plugin_xep_0373.py Fri Oct 28 18:47:17 2022 +0200 @@ -591,7 +591,7 @@ with gpg.Context(home_dir=self.__home_dir, signers=signers) as c: try: signed_data, __ = c.sign(data) - except gpg.error.GPGMEError as e: + except gpg.errors.GPGMEError as e: raise GPGProviderError("Internal GPGME error") from e except gpg.errors.InvalidSigners as e: raise GPGProviderError( @@ -610,7 +610,7 @@ with gpg.Context(home_dir=self.__home_dir, signers=signers) as c: try: signature, __ = c.sign(data, mode=gpg.constants.sig.mode.DETACH) - except gpg.error.GPGMEError as e: + except gpg.errors.GPGMEError as e: raise GPGProviderError("Internal GPGME error") from e except gpg.errors.InvalidSigners as e: raise GPGProviderError(