diff options
author | Justus Winter <[email protected]> | 2016-10-31 13:28:08 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2016-10-31 14:42:35 +0000 |
commit | 70b7064e5c4f3eff9c296c00156724bc0cdaa64f (patch) | |
tree | afa06232f2173cf60fc89c2e94ac139c9be99ad5 /lang/python/gpg/errors.py | |
parent | python: Rename Python module from PyME to gpg. (diff) | |
download | gpgme-70b7064e5c4f3eff9c296c00156724bc0cdaa64f.tar.gz gpgme-70b7064e5c4f3eff9c296c00156724bc0cdaa64f.zip |
python: Improve constants module.
* lang/python/gpg/constants/__init__.py: Import all modules below
'constants/'. Interface hygiene: delete 'util'.
* lang/python/gpg/constants/data/encoding.py: Delete 'util'.
* lang/python/gpg/constants/event.py: Likewise.
* lang/python/gpg/constants/import.py: Likewise.
* lang/python/gpg/constants/keylist/mode.py: Likewise.
* lang/python/gpg/constants/md.py: Likewise.
* lang/python/gpg/constants/pk.py: Likewise.
* lang/python/gpg/constants/protocol.py: Likewise.
* lang/python/gpg/constants/sig/mode.py: Likewise.
* lang/python/gpg/constants/sigsum.py: Likewise.
* lang/python/gpg/constants/validity.py: Likewise.
* lang/python/gpg/errors.py: Likewise.
Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to '')
-rw-r--r-- | lang/python/gpg/errors.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lang/python/gpg/errors.py b/lang/python/gpg/errors.py index 7f037f0a..1ce139e8 100644 --- a/lang/python/gpg/errors.py +++ b/lang/python/gpg/errors.py @@ -27,6 +27,7 @@ NO_ERROR = None EOF = None util.process_constants('GPG_ERR_', globals()) +del util class GpgError(Exception): pass |