summaryrefslogtreecommitdiff
blob: 431856ac934955b838a9cebefa09da87b4514c69 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- 1/scripts/build/msgfmt.py
+++ 1/scripts/build/msgfmt.py
@@ -112,7 +112,7 @@
                          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()
+    output += array.array("i", offsets).tobytes()
     output += ids
     output += strs
     return output