Revision: 13949
http://sourceforge.net/p/skim-app/code/13949
Author: hofman
Date: 2023-12-21 15:12:14 +0000 (Thu, 21 Dec 2023)
Log Message:
-----------
import only NamedTemporaryFile
Modified Paths:
--------------
trunk/build_skim.py
Modified: trunk/build_skim.py
===================================================================
--- trunk/build_skim.py 2023-12-21 15:04:44 UTC (rev 13948)
+++ trunk/build_skim.py 2023-12-21 15:12:14 UTC (rev 13949)
@@ -66,7 +66,7 @@
from stat import ST_SIZE
from time import gmtime, strftime, localtime, sleep
import plistlib
-import tempfile
+from tempfile import NamedTemporaryFile
from urllib.request import urlopen
from getpass import getuser
@@ -395,7 +395,7 @@
if dsaKey != "":
# write to a temporary file that's readably only by owner; minor
security issue here since
# we have to use a named temp file, but it's better than storing
unencrypted key
- with tempfile.NamedTemporaryFile() as keyFile:
+ with NamedTemporaryFile() as keyFile:
keyFile.write(dsaKey.encode("ascii"))
keyFile.flush()
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