summaryrefslogtreecommitdiff
blob: e55d989fbc1b6cb1184ed5367b22d53f4dccd147 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- nml-0.4.4.orig/nml/lz77.py
+++ nml-0.4.4/nml/lz77.py
@@ -25,7 +25,7 @@
     @return: Compressed data.
     @rtype:  C{bytearray}
     """
-    stream = data.tostring()
+    stream = data.tobytes()
     position = 0
     output = array.array('B')
     literal_bytes = array.array('B')