]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
util/base32: the identity trans table needn't have any contents -- we are using strin...
authorZooko O'Whielacronx <zooko@zooko.com>
Tue, 23 Dec 2008 00:48:08 +0000 (17:48 -0700)
committerZooko O'Whielacronx <zooko@zooko.com>
Tue, 23 Dec 2008 00:48:08 +0000 (17:48 -0700)
src/allmydata/util/base32.py

index 26661b7b7a67ce673f21a5da0e659ac761812532..d832b57e38ec16fe27d57f246a1e8b39d6077edc 100644 (file)
@@ -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):
     """