super-rsu: change bmc_pkg version impl
Change bmc_pkg version property implementation to return a list of two
versions converted to strings. This is done to allow comparing against
the version encoded in the manifest.
@@ -460,7 +460,7 @@ class bmc_pkg(flashable):
@property
def version(self):
- return (self._img.version, self._fw.version)
+ return [str(self._img.version), str(self._fw.version)]
def is_supported(self, flash_info):
return self._img.is_supported(flash_info) and self._fw.is_supported(
