diff options
author | 2020-04-29 18:39:17 +1000 | |
---|---|---|
committer | 2020-04-29 18:39:17 +1000 | |
commit | d878d4649820232f4ffc44138c82a10c8a893d16 (patch) | |
tree | 100e15adc6a61c86f13e9b53ef7cb78bdf4949c5 /docs/release/scripts/build/msgfmt.py | |
parent | 30fa9edfb904c948640f3226fa5e70b9fe1e5c34 (diff) |
0.221 Release filestag221
Diffstat (limited to 'docs/release/scripts/build/msgfmt.py')
-rw-r--r-- | docs/release/scripts/build/msgfmt.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/release/scripts/build/msgfmt.py b/docs/release/scripts/build/msgfmt.py index deb02ae32b2..4147d5becb9 100644 --- a/docs/release/scripts/build/msgfmt.py +++ b/docs/release/scripts/build/msgfmt.py @@ -112,7 +112,8 @@ def generate(): 7*4, # start of key index 7*4+len(keys)*8, # start of value index 0, 0) # size and offset of hash table - output += array.array("i", offsets).tostring() + offsdata = array.array("i", offsets) + output += offsdata.tobytes() if hasattr(offsdata, "tobytes") else offsdata.tostring() output += ids output += strs return output |