[pywin32-checkins] pywin32/win32/Demos/service pipeTestServiceClient.py, 1.5, 1.6
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2009-01-03 05:00:51
|
Update of /cvsroot/pywin32/pywin32/win32/Demos/service In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv8230/win32/Demos/service Modified Files: pipeTestServiceClient.py Log Message: remove use of string module Index: pipeTestServiceClient.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/Demos/service/pipeTestServiceClient.py,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** pipeTestServiceClient.py 23 Oct 2008 07:39:12 -0000 1.5 --- pipeTestServiceClient.py 3 Jan 2009 05:00:45 -0000 1.6 *************** *** 87,91 **** def main(): ! import sys, getopt, string server = "." thread_count = 0 --- 87,91 ---- def main(): ! import sys, getopt server = "." thread_count = 0 *************** *** 97,103 **** server = a if o=='-m': ! msg_count = string.atoi(a) if o=='-t': ! thread_count = string.atoi(a) if o=='-v': global verbose --- 97,103 ---- server = a if o=='-m': ! msg_count = int(a) if o=='-t': ! thread_count = int(a) if o=='-v': global verbose *************** *** 105,109 **** if o=='-l': testLargeMessage(server) ! msg = string.join(args) except getopt.error, msg: print msg --- 105,109 ---- if o=='-l': testLargeMessage(server) ! msg = " ".join(args).encode("mbcs") except getopt.error, msg: print msg |