python/dist/src/Lib/plat-mac plistlib.py, 1.13, 1.14
Update of /cvsroot/python/python/dist/src/Lib/plat-mac In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30919 Modified Files: plistlib.py Log Message: also escape '>', to closer match Apple's plist output Index: plistlib.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/plistlib.py,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14 --- plistlib.py 26 Oct 2004 07:38:16 -0000 1.13 +++ plistlib.py 26 Oct 2004 10:11:00 -0000 1.14 @@ -208,6 +208,7 @@ text = text.replace("\r", "\n") # convert Mac line endings text = text.replace("&", "&") # escape '&' text = text.replace("<", "<") # escape '<' + text = text.replace(">", ">") # escape '>' text = _controlStripper.sub("?", text) # replace control chars with '?' return text.encode("utf-8") # encode as UTF-8
participants (1)
-
jvr@users.sourceforge.net