changeset 7881 | 3ac7114c2555 |
parent 7835 | 2505e9f84153 |
child 8225 | 46293a0c7e9f |
--- a/mercurial/pure/base85.py Mon Mar 23 13:43:48 2009 +0100 +++ b/mercurial/pure/base85.py Mon Mar 23 13:49:16 2009 +0100 @@ -25,7 +25,7 @@ longs = len(text) >> 2 words = struct.unpack('>%dL' % (longs), text) - out = ''.join(_b85chars[(word / 52200625) % 85] + + out = ''.join(_b85chars[(word / 52200625) % 85] + _b85chars2[(word / 7225) % 7225] + _b85chars2[word % 7225] for word in words)