Dolda2000 GitWeb
/
wrw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow specifying cookie max-age more conveniently.
[wrw.git]
/
wrw
/
sp
/
cons.py
diff --git
a/wrw/sp/cons.py
b/wrw/sp/cons.py
index
d8b30a8
..
b9437bf
100644
(file)
--- a/
wrw/sp/cons.py
+++ b/
wrw/sp/cons.py
@@
-1,4
+1,4
@@
-import sys, collections
+import sys, collections
.abc
import xml.dom.minidom
class node(object):
import xml.dom.minidom
class node(object):
@@
-64,7
+64,7
@@
class context(object):
new = self.nodefrom(child)
if new is not None:
node.children.append(new)
new = self.nodefrom(child)
if new is not None:
node.children.append(new)
- elif isinstance(child, collections.Iterable):
+ elif isinstance(child, collections.
abc.
Iterable):
for ch in child:
self.addchild(node, ch)
else:
for ch in child:
self.addchild(node, ch)
else: