Site
Gitweb
Static
projects
/
eros.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d92061
)
Fix Disk Jumble Python 3.7 incompatibility
author
Jakob Cornell
<jakob+gpg@jcornell.net>
Sat, 19 Feb 2022 22:13:24 +0000
(16:13 -0600)
committer
Jakob Cornell
<jakob+gpg@jcornell.net>
Sat, 19 Feb 2022 22:13:24 +0000
(16:13 -0600)
disk_jumble/src/disk_jumble/bencode.py
patch
|
blob
|
history
diff --git
a/disk_jumble/src/disk_jumble/bencode.py
b/disk_jumble/src/disk_jumble/bencode.py
index 7883b53363548c36e8dc488dcd35523c876414f8..825ad527a38c7699193a41a770657731507f1014 100644
(file)
--- a/
disk_jumble/src/disk_jumble/bencode.py
+++ b/
disk_jumble/src/disk_jumble/bencode.py
@@
-1,10
+1,10
@@
from __future__ import annotations
-from typing import Union
+from typing import
Dict, List,
Union
import itertools
-Bdict =
d
ict[bytes, 'Type']
-Type = Union[bytes, int,
l
ist['Type'], Bdict]
+Bdict =
D
ict[bytes, 'Type']
+Type = Union[bytes, int,
L
ist['Type'], Bdict]
class CodecError(Exception):