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:
Greg Neagle
2009-10-02 23:13:51 +00:00
parent 20f97877fd
commit 68c78c0ebe
+1 -1
View File
@@ -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