[pywin32-checkins] pywin32/win32/Demos/win32wnet testwnet.py, 1.4, 1.5
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2008-11-27 03:53:31
|
Update of /cvsroot/pywin32/pywin32/win32/Demos/win32wnet In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv31031/win32/Demos/win32wnet Modified Files: testwnet.py Log Message: Replace backticks with explicit repr() calls. Index: testwnet.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/Demos/win32wnet/testwnet.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** testwnet.py 23 Oct 2008 07:39:12 -0000 1.4 --- testwnet.py 27 Nov 2008 03:53:25 -0000 1.5 *************** *** 66,70 **** def TestGetUser(): u = win32wnet.WNetGetUser() ! print "Current global user is", `u` if u != win32wnet.WNetGetUser(None): raise RuntimeError("Default value didnt seem to work!") --- 66,70 ---- def TestGetUser(): u = win32wnet.WNetGetUser() ! print "Current global user is", repr(u) if u != win32wnet.WNetGetUser(None): raise RuntimeError("Default value didnt seem to work!") |