Don't use string methods to allow sharing this code with PyXML.
This commit is contained in:
parent
13ac9926ac
commit
830b37bd74
|
@ -391,7 +391,8 @@ class Text(Node):
|
|||
_write_data(writer, self.data)
|
||||
|
||||
def _nssplit(qualifiedName):
|
||||
fields = qualifiedName.split(':', 1)
|
||||
import string
|
||||
fields = string.split(qualifiedName,':', 1)
|
||||
if len(fields) == 2:
|
||||
return fields
|
||||
elif len(fields) == 1:
|
||||
|
|
Loading…
Reference in New Issue