git://git.onelab.eu
/
sface.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a7c0b9f
)
I forgot to remove the >print<s
xmlrpctracker
author
Giovanni Gherdovich
<ggherdov@brentaal.inria.fr>
Fri, 22 Oct 2010 10:35:08 +0000
(12:35 +0200)
committer
Giovanni Gherdovich
<ggherdov@brentaal.inria.fr>
Fri, 22 Oct 2010 10:35:08 +0000
(12:35 +0200)
sface/xmlwidget.py
patch
|
blob
|
history
diff --git
a/sface/xmlwidget.py
b/sface/xmlwidget.py
index
d72f8e8
..
39fe7ac
100644
(file)
--- a/
sface/xmlwidget.py
+++ b/
sface/xmlwidget.py
@@
-240,11
+240,9
@@
class ElemNodeDelegate(QAbstractItemDelegate):
if len(tmp) > 1:
# many elems don't have atts...
pttrnAtt = ' *?.+.?=".*?"'
if len(tmp) > 1:
# many elems don't have atts...
pttrnAtt = ' *?.+.?=".*?"'
- print "TMP", tmp
attList = re.compile(pttrnAtt, re.DOTALL).findall(tmp[1])
for att in attList:
tmp = att.split('=')
attList = re.compile(pttrnAtt, re.DOTALL).findall(tmp[1])
for att in attList:
tmp = att.split('=')
- print "TMP2", tmp
attName = tmp[0]
attValue = tmp[1][1:-1]
AttListHtml += (attPattern % (attName, attValue))
attName = tmp[0]
attValue = tmp[1][1:-1]
AttListHtml += (attPattern % (attName, attValue))