1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-11 20:05:00 -05:00

Set class attribute on changes.

git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@3558 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
Tobias Markmann 2009-10-20 18:32:22 +00:00
parent d5efc6f99f
commit 72cc9def59

1
gen.py
View File

@ -134,6 +134,7 @@ class XEPTable:
xeprow.setAttribute("id", "xep" + info.getNr()) xeprow.setAttribute("id", "xep" + info.getNr())
xeprow.setAttribute("class", "tablebody XEP-" + info.getStatus()) xeprow.setAttribute("class", "tablebody XEP-" + info.getStatus())
else: else:
xeprow.setAttribute("class", "tablebody XEP-" + info.getStatus())
while(xeprow.hasChildNodes()): while(xeprow.hasChildNodes()):
xeprow.removeChild(xeprow.firstChild) xeprow.removeChild(xeprow.firstChild)