From ce5effbedfc19d5acd4aacf66e770f27ab1ad620 Mon Sep 17 00:00:00 2001 From: Zooko O'Whielacronx Date: Mon, 22 Dec 2008 17:48:08 -0700 Subject: [PATCH] util/base32: the identity trans table needn't have any contents -- we are using string.translate solely to delete known chars --- src/allmydata/util/base32.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/allmydata/util/base32.py b/src/allmydata/util/base32.py index 26661b7b..d832b57e 100644 --- a/src/allmydata/util/base32.py +++ b/src/allmydata/util/base32.py @@ -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): """ -- 2.45.2