1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
From: Johann Felix Soden <johfel@debian.org>
Date: Fri, 5 Feb 2021 10:25:00 +0100
Subject: Convert domutils.py to python3
---
doc/db2vim/domutils.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/db2vim/domutils.py b/doc/db2vim/domutils.py
index ccd1d88..8621e51 100644
--- a/doc/db2vim/domutils.py
+++ b/doc/db2vim/domutils.py
@@ -20,7 +20,7 @@ def GetTextFromElement(element):
child = element.firstChild
while not child.nextSibling is None:
child = child.nextSibling
- print child
+ print(child)
if child.nodeType == child.TEXT_NODE:
text = text + child.data
|