Memoize get_version since it won't change during a run

This commit is contained in:
Greg Neagle
2017-01-03 08:20:12 -08:00
parent 160e353d73
commit 883dcef799

1
code/client/munkilib/info.py Normal file → Executable file
View File

@@ -504,6 +504,7 @@ def getAppData():
return app_data
@utils.Memoize
def get_version():
"""Returns version of munkitools, reading version.plist"""
vers = "UNKNOWN"