Commit 84f9c38
committed
extract_utils: T | T -> Union[T, T]
Fixes the following error when using Python 3.8:
Traceback (most recent call last):
File "./extract-files.py", line 15, in <module>
from extract_utils.main import (
File "/home/luk/lineage-22/tools/extract-utils/extract_utils/main.py", line 13, in <module>
from extract_utils.extract import ExtractCtx
File "/home/luk/lineage-22/tools/extract-utils/extract_utils/extract.py", line 72, in <module>
extract_fns_user_type = extract_fns_dict_type | extract_fns_type
TypeError: unsupported operand type(s) for |: '_GenericAlias' and '_GenericAlias'
Change-Id: I5e8131004e81edd0e3e1a89ce1934abc7959092a1 parent c136949 commit 84f9c38
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
0 commit comments