summaryrefslogtreecommitdiffstats
path: root/src/lib/Client/XML.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Client/XML.py')
-rw-r--r--src/lib/Client/XML.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/Client/XML.py b/src/lib/Client/XML.py
index 8de3b3a7e..42b1017ac 100644
--- a/src/lib/Client/XML.py
+++ b/src/lib/Client/XML.py
@@ -30,8 +30,8 @@ except ImportError:
return elementtree.ElementTree.tostring(e)
except ImportError:
- print "Failed to load lxml, xml.etree and elementtree.ElementTree"
- print "Cannot continue"
- raise SystemExit, 1
+ print("Failed to load lxml, xml.etree and elementtree.ElementTree")
+ print("Cannot continue")
+ raise SystemExit(1)
len([Element, SubElement, XML, tostring, ParseError])