PERFORCE change 123091 for review
Andrew Turner
andrew at FreeBSD.org
Sun Jul 8 06:33:01 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=123091
Change 123091 by andrew at 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
More information about the p4-projects
mailing list