ox-it / munki-rebrand

Script to rebrand Munki's Managed Software Center
BSD 3-Clause "New" or "Revised" License
89 stars 24 forks source link

Fix plistlib DeprecationWarning in Python 3 #41

Closed ggeerraalldd closed 3 years ago

ggeerraalldd commented 4 years ago

Uses 'try' statements to attempt plistlib.load and plistlib.dump to avoid DeprecationWarning in Python 3. In Python 2 it will fall back on error to using plistlib.readPlist and plistlib.writePlist.

fuzzylogiq commented 3 years ago

addressed in #47