equal
deleted
inserted
replaced
7 |
7 |
8 from __future__ import absolute_import |
8 from __future__ import absolute_import |
9 |
9 |
10 import struct |
10 import struct |
11 |
11 |
12 _b85chars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ" \ |
12 from .. import pycompat |
13 "abcdefghijklmnopqrstuvwxyz!#$%&()*+-;<=>?@^_`{|}~" |
13 |
|
14 _b85chars = pycompat.bytestr("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdef" |
|
15 "ghijklmnopqrstuvwxyz!#$%&()*+-;<=>?@^_`{|}~") |
14 _b85chars2 = [(a + b) for a in _b85chars for b in _b85chars] |
16 _b85chars2 = [(a + b) for a in _b85chars for b in _b85chars] |
15 _b85dec = {} |
17 _b85dec = {} |
16 |
18 |
17 def _mkb85dec(): |
19 def _mkb85dec(): |
18 for i, c in enumerate(_b85chars): |
20 for i, c in enumerate(_b85chars): |