mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-09 05:38:04 +08:00
The current code reads the data, converts them to unicode string and then uses the `len()` of that string as filesize. This is wrong, because Koji expects filesize to be really number of bytes, not number of characters. Therefore, in this commit, the filesize is computed from raw data (bytes).