mirror of
https://github.com/moparisthebest/xeps
synced 2025-02-12 05:10:27 -05:00
Remove debugging output.
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@3516 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
parent
0c95b8f6b3
commit
1e195d30bf
3
gen.py
3
gen.py
@ -101,7 +101,6 @@ class XEPTable:
|
|||||||
self.tableFile.getElementsByTagName("table")[0].normalize()
|
self.tableFile.getElementsByTagName("table")[0].normalize()
|
||||||
f.write(self.tableFile.toxml())
|
f.write(self.tableFile.toxml())
|
||||||
f.close()
|
f.close()
|
||||||
print self.tableFile.toxml()
|
|
||||||
|
|
||||||
def setXEP(self, info):
|
def setXEP(self, info):
|
||||||
rows = self.tableFile.getElementsByTagName("tr")
|
rows = self.tableFile.getElementsByTagName("tr")
|
||||||
@ -112,7 +111,6 @@ class XEPTable:
|
|||||||
break
|
break
|
||||||
|
|
||||||
if xeprow == 0:
|
if xeprow == 0:
|
||||||
print "Row not found."
|
|
||||||
xeprow = self.tableFile.createElement("tr")
|
xeprow = self.tableFile.createElement("tr")
|
||||||
self.tableFile.getElementsByTagName("table")[0].appendChild(xeprow)
|
self.tableFile.getElementsByTagName("table")[0].appendChild(xeprow)
|
||||||
self.tableFile.getElementsByTagName("table")[0].appendChild(self.tableFile.createTextNode('''
|
self.tableFile.getElementsByTagName("table")[0].appendChild(self.tableFile.createTextNode('''
|
||||||
@ -120,7 +118,6 @@ class XEPTable:
|
|||||||
xeprow.setAttribute("id", "xep" + info.getNr())
|
xeprow.setAttribute("id", "xep" + info.getNr())
|
||||||
xeprow.setAttribute("class", "tablebody")
|
xeprow.setAttribute("class", "tablebody")
|
||||||
else:
|
else:
|
||||||
print "Row found."
|
|
||||||
while(xeprow.hasChildNodes()):
|
while(xeprow.hasChildNodes()):
|
||||||
xeprow.removeChild(xeprow.firstChild)
|
xeprow.removeChild(xeprow.firstChild)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user