git.samba.org
/
jelmer
/
dulwich.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2de9c1
)
Import abcs from the new location.
author
Jelmer Vernooij
<jelmer@jelmer.uk>
Thu, 22 Nov 2018 22:25:00 +0000
(22:25 +0000)
committer
Jelmer Vernooij
<jelmer@jelmer.uk>
Thu, 22 Nov 2018 22:25:00 +0000
(22:25 +0000)
dulwich/config.py
patch
|
blob
|
history
diff --git
a/dulwich/config.py
b/dulwich/config.py
index cc818e4e56f5f2a72a051b2d221b65cee7d7babe..416d5524657066bca326ee415a4cc7d938d987cb 100644
(file)
--- a/
dulwich/config.py
+++ b/
dulwich/config.py
@@
-31,11
+31,18
@@
import os
import sys
from collections import (
- Iterable,
OrderedDict,
- MutableMapping,
)
-
+try:
+ from collections.abc import (
+ Iterable,
+ MutableMapping,
+ )
+except ImportError: # python < 3.7
+ from collections import (
+ Iterable,
+ MutableMapping,
+ )
from dulwich.file import GitFile