mirror of
https://github.com/munki/munki.git
synced 2026-04-24 05:49:42 -05:00
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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user