[Python-checkins] CVS: python/dist/src/Mac/Tools/IDE Wapplication.py,1.9,1.10
Jack Jansen
jackjansen@users.sourceforge.net
Thu, 17 May 2001 05:35:03 -0700
Update of /cvsroot/python/python/dist/src/Mac/Tools/IDE
In directory usw-pr-cvs1:/tmp/cvs-serv25803/Python/Mac/Tools/IDE
Modified Files:
Wapplication.py
Log Message:
Fixed macroman<->latin1 conversion. Some characters don't exist in latin1, but at least the roundtrip gives
the correct macroman characters again.
Index: Wapplication.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Tools/IDE/Wapplication.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** Wapplication.py 2001/03/08 23:10:20 1.9
--- Wapplication.py 2001/05/17 12:35:01 1.10
***************
*** 345,352 ****
f, filename, (suff, mode, dummy) = imp.find_module(modname)
except ImportError:
! raise W.AlertError, "Can¹t find file for ³%s²" % modname
else:
if not f:
! raise W.AlertError, "Can¹t find file for ³%s²" % modname
f.close()
if suff == '.py':
--- 345,352 ----
f, filename, (suff, mode, dummy) = imp.find_module(modname)
except ImportError:
! raise W.AlertError, "CanÕt find file for –%s”" % modname
else:
if not f:
! raise W.AlertError, "CanÕt find file for –%s”" % modname
f.close()
if suff == '.py':
***************
*** 354,360 ****
return
else:
! raise W.AlertError, "Can¹t find file for ³%s²" % modname
else:
! raise W.AlertError, "Can¹t find file Œ%s¹" % filename
if lineno is not None:
editor.selectline(lineno, charoffset)
--- 354,360 ----
return
else:
! raise W.AlertError, "CanÕt find file for –%s”" % modname
else:
! raise W.AlertError, "CanÕt find file •%sÕ" % filename
if lineno is not None:
editor.selectline(lineno, charoffset)