mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-24 07:06:41 +00:00
util/base32: the identity trans table needn't have any contents -- we are using string.translate solely to delete known chars
This commit is contained in:
parent
3a26a4bd58
commit
ce5effbedf
@ -10,7 +10,7 @@ chars = rfc3548_alphabet
|
||||
vals = ''.join(map(chr, range(32)))
|
||||
c2vtranstable = string.maketrans(chars, vals)
|
||||
v2ctranstable = string.maketrans(vals, chars)
|
||||
identitytranstable = string.maketrans(chars, chars)
|
||||
identitytranstable = string.maketrans('', '')
|
||||
|
||||
def _get_trailing_chars_without_lsbs(N, d):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user