Update of /cvsroot/pywin32/pywin32/Pythonwin/pywin/tools
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17773/Pythonwin/pywin/tools
Modified Files:
browser.py
Log Message:
Have the pythonwin 'browser' insist on strings already encoded - easier
than fixing all the uses, and this code isn't being used much these days
Index: browser.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/Pythonwin/pywin/tools/browser.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** browser.py 7 Oct 2004 08:51:36 -0000 1.7
--- browser.py 12 Jul 2007 07:54:34 -0000 1.8
***************
*** 25,28 ****
--- 25,29 ----
self.knownExpandable = None
if name:
+ assert type(name)==str, repr(name) # encode to mbcs if necessary
self.name=name
else:
|