Revision: 13944
          http://sourceforge.net/p/skim-app/code/13944
Author:   hofman
Date:     2023-12-20 22:10:15 +0000 (Wed, 20 Dec 2023)
Log Message:
-----------
escape backslash in strings to search release notes

Modified Paths:
--------------
    trunk/build_skim.py

Modified: trunk/build_skim.py
===================================================================
--- trunk/build_skim.py 2023-12-20 15:55:10 UTC (rev 13943)
+++ trunk/build_skim.py 2023-12-20 22:10:15 UTC (rev 13944)
@@ -300,9 +300,9 @@
     
     changeString = "Changes since "
     endLineString = "\\\n"
-    itemString = "{\\listtext\t\uc0\u8226 \t}"
-    noteString1 = "Note:\n\f4\i\b0\fs24 \cf0 "
-    noteString2 = "NOTE:\n\f4\i\b0\fs24 \cf0 "
+    itemString = "{\\listtext\t\\uc0\\u8226 \t}"
+    noteString1 = "Note:  \n\\f4\\i\\b0\\fs24 \\cf0 "
+    noteString2 = "NOTE:  \n\\f4\\i\\b0\\fs24 \\cf0 "
     noteString3 = "Note:  "
     noteString4 = "NOTE:  "
 
@@ -369,7 +369,7 @@
     # notes are evidently stored as archived RTF data, so find start/end 
markers
     start = pwoutput.find("-----BEGIN DSA PRIVATE KEY-----")
     stopString = "-----END DSA PRIVATE KEY-----"
-    stop = pwoutput.find(!topString)
+    stop = pwoutput.find(stopString)
     key = ""
 
     if start != -1 and stop != -1:

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to