|
[XML-checkins]CVS: xml/xml/dom/ext c14n.py,1.14,1.15
From: Rich Salz <rsalz@us...> - 2002-01-24 21:37
|
Update of /cvsroot/pyxml/xml/xml/dom/ext
In directory usw-pr-cvs1:/tmp/cvs-serv792/xml/dom/ext
Modified Files:
c14n.py
Log Message:
Allow subset to be [], meaning no nodes, so explicitly test for None
nto just "not subset"
Index: c14n.py
===================================================================
RCS file: /cvsroot/pyxml/xml/xml/dom/ext/c14n.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** c14n.py 2001/12/30 12:12:07 1.14
--- c14n.py 2002/01/24 21:37:49 1.15
***************
*** 90,94 ****
return 0
! _in_subset = lambda subset, node: not subset or node in subset
class _implementation:
--- 90,94 ----
return 0
! _in_subset = lambda subset, node: subset is None or node in subset
class _implementation:
|
| Thread | Author | Date |
|---|---|---|
| [XML-checkins]CVS: xml/xml/dom/ext c14n.py,1.14,1.15 | Rich Salz <rsalz@us...> |