mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=3576
This commit is contained in:
parent
14b1cdbeec
commit
b35123ff48
|
@ -50,6 +50,7 @@ def set_element(node, new_data):
|
||||||
if node.firstChild and node.firstChild.data:
|
if node.firstChild and node.firstChild.data:
|
||||||
node.firstChild.data = str(new_data)
|
node.firstChild.data = str(new_data)
|
||||||
else:
|
else:
|
||||||
|
# different versions of pyxml have different interface (!)
|
||||||
try:
|
try:
|
||||||
new_data_node = xml.dom.minidom.Text()
|
new_data_node = xml.dom.minidom.Text()
|
||||||
except:
|
except:
|
||||||
|
|
Loading…
Reference in New Issue