projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a26a4b
)
util/base32: the identity trans table needn't have any contents -- we are using strin...
author
Zooko O'Whielacronx
<zooko@zooko.com>
Tue, 23 Dec 2008 00:48:08 +0000
(17:48 -0700)
committer
Zooko O'Whielacronx
<zooko@zooko.com>
Tue, 23 Dec 2008 00:48:08 +0000
(17:48 -0700)
src/allmydata/util/base32.py
patch
|
blob
|
history
diff --git
a/src/allmydata/util/base32.py
b/src/allmydata/util/base32.py
index 26661b7b7a67ce673f21a5da0e659ac761812532..d832b57e38ec16fe27d57f246a1e8b39d6077edc 100644
(file)
--- 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):
"""