--- a/DebugClients/Python2/AsyncFile.py Sat Sep 10 19:32:56 2016 +0200 +++ b/DebugClients/Python2/AsyncFile.py Sun Sep 11 13:11:58 2016 +0200 @@ -64,7 +64,7 @@ @exception IOError raised to indicate a bad file descriptor """ if mode != self.mode: - raise IOError('[Errno 9] Bad file descriptor') + raise IOError((9, '[Errno 9] Bad file descriptor')) def __nWrite(self, n): """ @@ -254,12 +254,12 @@ """ Public method to move the filepointer. - @param offset offset to seek for - @param whence where to seek from + @param offset offset to move the filepointer to (integer) + @param whence position the offset relates to @exception IOError This method is not supported and always raises an IOError. """ - raise IOError('[Errno 29] Illegal seek') + raise IOError((29, '[Errno 29] Illegal seek')) def tell(self): """ @@ -268,7 +268,7 @@ @exception IOError This method is not supported and always raises an IOError. """ - raise IOError('[Errno 29] Illegal seek') + raise IOError((29, '[Errno 29] Illegal seek')) def truncate(self, size=-1): """ @@ -278,7 +278,7 @@ @exception IOError This method is not supported and always raises an IOError. """ - raise IOError('[Errno 29] Illegal seek') + raise IOError((29, '[Errno 29] Illegal seek')) def writable(self): """