Revision: 12262
          http://sourceforge.net/p/skim-app/code/12262
Author:   hofman
Date:     2021-04-06 09:22:46 +0000 (Tue, 06 Apr 2021)
Log Message:
-----------
Always write new appcast item as a separate file, adding to the old one seems 
to fail

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

Modified: trunk/build_skim.py
===================================================================
--- trunk/build_skim.py 2021-04-06 09:16:38 UTC (rev 12261)
+++ trunk/build_skim.py 2021-04-06 09:22:46 UTC (rev 12262)
@@ -425,13 +425,11 @@
         
         # write to NSData, since pretty printing didn't work with 
NSXMLDocument writing
         
oldDoc.XMLDataWithOptions_(NSXMLNodePrettyPrint).writeToFile_atomically_(appcastPath,
 True)
-        
-    else:
-        
-        appcastPath = os.path.join(outputPath , "Skim-" + newVersionString + 
".xml")
-        appcastFile = open(appcastPath, "w")
-        appcastFile.write(newItemString)
-        appcastFile.close()
+    
+    appcastPath = os.path.join(outputPath , "Skim-" + newVersionString + 
".xml")
+    appcastFile = open(appcastPath, "w")
+    appcastFile.write(newItemString)
+    appcastFile.close()
 
 def get_options():
     

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