mirror of
https://github.com/munki/munki.git
synced 2026-04-22 20:48:36 -05:00
munkicommon.MunkiLooseVersion can now init from integers and floats
This commit is contained in:
@@ -927,7 +927,7 @@ class MunkiLooseVersion (version.LooseVersion):
|
||||
|
||||
def __init__ (self, vstring=None):
|
||||
if vstring is not None:
|
||||
self.parse(vstring)
|
||||
self.parse(str(vstring))
|
||||
|
||||
def __pad__(self, version_list, max_length):
|
||||
"""Pad a version list by adding extra 0
|
||||
|
||||
Reference in New Issue
Block a user