mirror of
https://github.com/munki/munki.git
synced 2026-04-24 05:49:42 -05:00
Merge branch 'master' into curl-refactor
This commit is contained in:
@@ -977,6 +977,10 @@ def getInstallerPkgInfo(filename):
|
||||
class MunkiLooseVersion (version.LooseVersion):
|
||||
'''Subclass version.LooseVersion to compare things like
|
||||
"10.6" and "10.6.0" as equal'''
|
||||
|
||||
def __init__ (self, vstring=None):
|
||||
if vstring is not None:
|
||||
self.parse(vstring)
|
||||
|
||||
def __pad__(self, version_list, max_length):
|
||||
"""Pad a version list by adding extra 0
|
||||
|
||||
Reference in New Issue
Block a user