From: Kevin A. <ka...@us...> - 2004-09-10 19:58:17
|
Update of /cvsroot/pythoncard/PythonCard/tools/resourceEditor In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22705/tools/resourceEditor Modified Files: resourceEditor.py Log Message: cleaner way of replacing \r with \n Index: resourceEditor.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/resourceEditor/resourceEditor.py,v retrieving revision 1.212 retrieving revision 1.213 diff -C2 -d -r1.212 -r1.213 *** resourceEditor.py 10 Sep 2004 18:10:23 -0000 1.212 --- resourceEditor.py 10 Sep 2004 19:57:52 -0000 1.213 *************** *** 1512,1516 **** # which causes eval to fail if wx.Platform == '__WXMAC__': ! desc = desc.replace(", \r ", ", \n ") # this is dangerous so we need a better way of converting # the text in the clipboard to a dictionary safely --- 1512,1516 ---- # which causes eval to fail if wx.Platform == '__WXMAC__': ! desc = '\n'.join(desc.splitlines()) # this is dangerous so we need a better way of converting # the text in the clipboard to a dictionary safely |