only popup XmlRpcTracker if there is xml to show
authorsmbaker <smbaker@fc8clean.lan>
Wed, 29 Jun 2011 22:48:40 +0000 (15:48 -0700)
committersmbaker <smbaker@fc8clean.lan>
Wed, 29 Jun 2011 22:48:40 +0000 (15:48 -0700)
sface/xmlrpcwindow.py

index a7be214..a368a77 100644 (file)
@@ -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()