mirror of
https://github.com/munki/munki.git
synced 2026-05-07 04:49:28 -05:00
Minor naming changes
This commit is contained in:
@@ -380,8 +380,9 @@ def edit_pkginfo_in_editor(pkginfo):
|
||||
if editor:
|
||||
answer = raw_input('Edit pkginfo before upload? [y/n]: ')
|
||||
if answer.lower().startswith('y'):
|
||||
fileref, filepath = tempfile.mkstemp()
|
||||
os.close(fileref)
|
||||
filedesc, filepath = tempfile.mkstemp()
|
||||
# we just want the path; close the file descriptor
|
||||
os.close(filedesc)
|
||||
try:
|
||||
FoundationPlist.writePlist(pkginfo, filepath)
|
||||
except FoundationPlist.FoundationPlistException, err:
|
||||
|
||||
Reference in New Issue
Block a user