diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-10-29 00:17:42 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-10-29 00:17:42 +0100 |
commit | 9d38f712c153727dbb895673d6d9841be57c12c9 (patch) | |
tree | a83c92de05f2c3c56cdb44f5f8775f2fa91bd2dd /gnu-taler-error-codes/py.header | |
parent | 068cfc6a252f44799a7e9bd7914e90f72ad60091 (diff) | |
download | gana-9d38f712c153727dbb895673d6d9841be57c12c9.tar.gz gana-9d38f712c153727dbb895673d6d9841be57c12c9.zip |
use IntEnum
Diffstat (limited to 'gnu-taler-error-codes/py.header')
-rw-r--r-- | gnu-taler-error-codes/py.header | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu-taler-error-codes/py.header b/gnu-taler-error-codes/py.header index 1d09d0d..dea0c21 100644 --- a/gnu-taler-error-codes/py.header +++ b/gnu-taler-error-codes/py.header | |||
@@ -21,10 +21,10 @@ | |||
21 | but it does apply to this file. | 21 | but it does apply to this file. |
22 | """ | 22 | """ |
23 | 23 | ||
24 | from enum import Enum,unique | 24 | from enum import IntEnum,unique |
25 | 25 | ||
26 | """ | 26 | """ |
27 | Error codes used by GNU Taler. | 27 | Error codes used by GNU Taler. |
28 | """ | 28 | """ |
29 | @unique | 29 | @unique |
30 | class ErrorCode(Enum): | 30 | class ErrorCode(IntEnum): |