Title: [commits] (bkirsch) [15325] fix to imap protocol tools to handle io exceptions when the server returns lenghty responses
Revision
15325
Author
bkirsch
Date
2007-09-12 12:59:29 -0700 (Wed, 12 Sep 2007)

Log Message

fix to imap protocol tools to handle io exceptions when the server returns lenghty responses

Modified Paths

Diff

Modified: trunk/chandler/parcels/osaf/mail/tests/test_clients/imapProtocolClient.py (15324 => 15325)

--- trunk/chandler/parcels/osaf/mail/tests/test_clients/imapProtocolClient.py	2007-09-12 19:26:53 UTC (rev 15324)
+++ trunk/chandler/parcels/osaf/mail/tests/test_clients/imapProtocolClient.py	2007-09-12 19:59:29 UTC (rev 15325)
@@ -55,9 +55,13 @@
             reactor.callLater(TIMER, self.sendNoop)
 
     def dataReceived(self, data):
-        print "\n", data
-        self.io.display()
+        try:
+            print "\n", data
+            self.io.display()
+        except:
+            pass
 
+
         if self.first:
             reactor.callLater(TIMER, self.sendNoop)
 




_______________________________________________
Commits mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/commits

Reply via email to