[Python-checkins] CVS: python/dist/src/Mac/Lib findertools.py,1.5,1.6
Jack Jansen
jackjansen@users.sourceforge.net
Thu, 17 May 2001 05:44:33 -0700
Update of /cvsroot/python/python/dist/src/Mac/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv28574/Python/Mac/Lib
Modified Files:
findertools.py
Log Message:
Fixed macroman<->latin1 conversion. Some chars don't
exist in latin1, but at least the roundtrip results in the
same macroman characters.
Index: findertools.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Lib/findertools.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** findertools.py 2001/04/07 12:52:15 1.5
--- findertools.py 2001/05/17 12:44:31 1.6
***************
*** 122,126 ****
def comment(object, comment=None):
! """comment: get or set the Finder-comment of the item, displayed in the łGet Info˛ window."""
object = macfs.FSSpec(object)
fss = macfs.FSSpec(object)
--- 122,126 ----
def comment(object, comment=None):
! """comment: get or set the Finder-comment of the item, displayed in the Get Info window."""
object = macfs.FSSpec(object)
fss = macfs.FSSpec(object)
***************
*** 757,761 ****
def _test2():
! print '\nmorefindertools version %s\nTests coming up' %__version__
import os
import random
--- 757,761 ----
def _test2():
! print '\nmorefindertools version %s\nTests coming up' %__version__
import os
import random
***************
*** 801,805 ****
windowposition(base, pos)
print '\twindow position', pos
! windowposition(base, orgpos) # park it where it was before
print 'Put a comment in file', f, ':'
--- 801,805 ----
windowposition(base, pos)
print '\twindow position', pos
! windowposition(base, orgpos) # park it where it was before
print 'Put a comment in file', f, ':'