diff --git a/tools/osbuild-mpp b/tools/osbuild-mpp index cce51a89..2bc33ac6 100755 --- a/tools/osbuild-mpp +++ b/tools/osbuild-mpp @@ -1259,6 +1259,11 @@ class ManifestFile: sys.exit(1) if res_type == "int": + # If the value ends with '.0' it could be because of + # some math that ended up converting the value to a + # float. Just trim it off in that case. + if res.endswith('.0'): + res = res.strip('.0') res = int(res) elif res_type == "json": res = json.loads(res)