Date: Sun, 8 Jul 2007 06:33:00 GMT From: Andrew Turner <andrew@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 123091 for review Message-ID: <200707080633.l686X0Ak041385@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=123091 Change 123091 by andrew@andrew_hermies on 2007/07/08 06:32:47 Implement doCall in the network code to send a call to the server Clean up the data from a response Affected files ... .. //depot/projects/soc2007/andrew-update/frontend/facund/network/__init__.py#7 edit Differences ... ==== //depot/projects/soc2007/andrew-update/frontend/facund/network/__init__.py#7 (text+ko) ==== @@ -64,6 +64,10 @@ self.parser.close() + def doCall(self, call): + self.socket.send(call.getCall()) + + def interact(self): '''Reads data from the connection and passes it to the XML parser''' @@ -112,6 +116,8 @@ elif name == "response": print str(self.__data) + del self.__data + self.__data = None elif name == "facund-server": # The server sent a close message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707080633.l686X0Ak041385>