Fixed bug in munkicommon.getExtendedVersion() that could return None instead of "0.0.0.0.0".

git-svn-id: http://munki.googlecode.com/svn/trunk@242 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
Greg Neagle
2009-10-01 23:49:20 +00:00
parent 491345a1c0
commit 33e0d69436
+2 -2
View File
@@ -412,8 +412,8 @@ def getExtendedVersion(bundlepath):
elif "Bundle versions string, short" in pl:
# another special case for JAMF Composer-generated packages. Wow.
return padVersionString(pl["Bundle versions string, short"],5)
else:
return "0.0.0.0.0"
# didn't find a version number, so return 0...
return "0.0.0.0.0"
def parsePkgRefs(filename):