Revision: 13739
          http://sourceforge.net/p/skim-app/code/13739
Author:   hofman
Date:     2023-11-11 15:25:46 +0000 (Sat, 11 Nov 2023)
Log Message:
-----------
Use python3 in build script. Decode DSA key.

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

Modified: trunk/build_skim.py
===================================================================
--- trunk/build_skim.py 2023-11-10 15:48:48 UTC (rev 13738)
+++ trunk/build_skim.py 2023-11-11 15:25:46 UTC (rev 13739)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 
 #
 # This script is part of Skim.  Various paths are hardcoded near
@@ -368,7 +368,7 @@
     # see 
http://www.entropy.ch/blog/Developer/2008/09/22/Sparkle-Appcast-Automation-in-Xcode.html
     pwtask = Popen(["/usr/bin/security", "find-generic-password", "-g", "-s", 
KEY_NAME], stdout=PIPE, stderr=PIPE)
     [output, error] = pwtask.communicate()
-    pwoutput = output + error
+    pwoutput = (output + error).decode("utf-8")
 
     # notes are evidently stored as archived RTF data, so find start/end 
markers
     start = pwoutput.find("-----BEGIN DSA PRIVATE KEY-----")

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