--- a/DebugClients/Python3/AsyncFile.py Sun Oct 06 17:27:53 2013 +0200 +++ b/DebugClients/Python3/AsyncFile.py Sun Oct 06 18:02:21 2013 +0200 @@ -4,7 +4,8 @@ # """ -Module implementing an asynchronous file like socket interface for the debugger. +Module implementing an asynchronous file like socket interface for the +debugger. """ import socket @@ -101,7 +102,8 @@ """ Public method to close the file. - @param closeit flag to indicate a close ordered by the debugger code (boolean) + @param closeit flag to indicate a close ordered by the debugger code + (boolean) """ if closeit and not self.closed: self.flush() @@ -301,10 +303,11 @@ if not self.wpending: self.wpending = s elif len(self.wpending) + len(s) > self.maxbuffersize: - # flush wpending so that different string types are not concatenated + # flush wpending so that different string types are not + # concatenated while self.wpending: - # if we have a persistent error in sending the data, an exception - # will be raised in __nWrite + # if we have a persistent error in sending the data, an + # exception will be raised in __nWrite self.flush() tries += 1 if tries > self.maxtries: