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:
ee75909
)
only popup XmlRpcTracker if there is xml to show
author
smbaker
<smbaker@fc8clean.lan>
Wed, 29 Jun 2011 22:48:40 +0000
(15:48 -0700)
committer
smbaker
<smbaker@fc8clean.lan>
Wed, 29 Jun 2011 22:48:40 +0000
(15:48 -0700)
sface/xmlrpcwindow.py
patch
|
blob
|
history
diff --git
a/sface/xmlrpcwindow.py
b/sface/xmlrpcwindow.py
index
a7be214
..
a368a77
100644
(file)
--- a/
sface/xmlrpcwindow.py
+++ b/
sface/xmlrpcwindow.py
@@
-10,7
+10,9
@@
class XmlrpcTracker():
self.store(rawOutput)
self.extractXml()
self.xmlrpcWindow.setData(self.xml)
self.store(rawOutput)
self.extractXml()
self.xmlrpcWindow.setData(self.xml)
- self.showXmlrpc()
+ if self.xml != "<debug></debug>":
+ # only popup the window if we have something to show
+ self.showXmlrpc()
def showXmlrpc(self):
self.xmlrpcWindow.show()
def showXmlrpc(self):
self.xmlrpcWindow.show()