Closed bazimov closed 6 years ago
When parsing size comma causing an issue. We might need to remove commas or convert the size to whole number.
get_performance_report old_space = parse_size(old_info['usedSpace']) File "/tmp/workspace/artifactory-retention-policies-lab/venv/lib/python3.6/site-packages/humanfriendly/__init__.py", line 234, in parse_size raise InvalidSize(format(msg, size, tokens)) humanfriendly.InvalidSize: Failed to parse size! (input '1,021.11 GB' was tokenized as [1, ',', 21.11, 'GB'])
When parsing size comma causing an issue. We might need to remove commas or convert the size to whole number.