diff --git a/tools/osbuild-mpp b/tools/osbuild-mpp index 6d5ebddd..cf74488e 100755 --- a/tools/osbuild-mpp +++ b/tools/osbuild-mpp @@ -1288,7 +1288,7 @@ class ManifestFile: # 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 = res[0:-2] res = int(res) elif res_type == "json": res = json.loads(res)