From: smbaker Date: Wed, 29 Jun 2011 22:48:40 +0000 (-0700) Subject: only popup XmlRpcTracker if there is xml to show X-Git-Tag: sface-0.1-17~17 X-Git-Url: http://git.onelab.eu/?p=sface.git;a=commitdiff_plain;h=eed6ec66954122f954da955b1e0f9fcf654614e9 only popup XmlRpcTracker if there is xml to show --- diff --git a/sface/xmlrpcwindow.py b/sface/xmlrpcwindow.py index a7be214..a368a77 100644 --- 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.showXmlrpc() + if self.xml != "": + # only popup the window if we have something to show + self.showXmlrpc() def showXmlrpc(self): self.xmlrpcWindow.show()