[pywin32-checkins] pywin32/win32/Demos/service pipeTestServiceClient.py, 1.3.4.3, 1.3.4.4
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2009-01-03 04:54:41
|
Update of /cvsroot/pywin32/pywin32/win32/Demos/service In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv7993/win32/Demos/service Modified Files: Tag: py3k pipeTestServiceClient.py Log Message: merge modernizations from trunk Index: pipeTestServiceClient.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/Demos/service/pipeTestServiceClient.py,v retrieving revision 1.3.4.3 retrieving revision 1.3.4.4 diff -C2 -d -r1.3.4.3 -r1.3.4.4 *** pipeTestServiceClient.py 27 Nov 2008 11:31:05 -0000 1.3.4.3 --- pipeTestServiceClient.py 3 Jan 2009 04:54:33 -0000 1.3.4.4 *************** *** 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 as msg: print(msg) --- 105,109 ---- if o=='-l': testLargeMessage(server) ! msg = " ".join(args).encode("mbcs") except getopt.error as msg: print(msg) |