mirror of
https://github.com/munki/munki.git
synced 2026-05-03 19:10:21 -05:00
Fixed a typo in the new support for 'maximum_os_version'
git-svn-id: http://munki.googlecode.com/svn/trunk@247 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
@@ -762,7 +762,7 @@ def getItemDetail(name, cataloglist, vers=''):
|
||||
|
||||
if 'maximum_os_version' in item:
|
||||
max_os_vers = munkicommon.padVersionString(item['maximum_os_version'],3)
|
||||
munkicommon.display_debug1("Considering item %s, version %s with maximum os version supported %s" % (item['name'], item['version'], min_os_vers))
|
||||
munkicommon.display_debug1("Considering item %s, version %s with maximum os version supported %s" % (item['name'], item['version'], max_os_vers))
|
||||
munkicommon.display_debug2("Our OS version is %s" % machine['os_vers'])
|
||||
if version.LooseVersion(machine['os_vers']) > version.LooseVersion(max_os_vers):
|
||||
# skip this one, go to the next
|
||||
|
||||
Reference in New Issue
Block a user