From: Zooko O'Whielacronx Date: Tue, 19 May 2009 19:51:29 +0000 (-0700) Subject: setup: fix trivial bug in recent patch to test base64.py at startup X-Git-Url: https://git.rkrishnan.org/pf/content/en/?a=commitdiff_plain;h=18be10ceebd0d8c3bc912ae2950ba8f8d74822b7;p=tahoe-lafs%2Ftahoe-lafs.git setup: fix trivial bug in recent patch to test base64.py at startup --- diff --git a/_auto_deps.py b/_auto_deps.py index 0b0ca599..71e1e59a 100644 --- a/_auto_deps.py +++ b/_auto_deps.py @@ -48,7 +48,7 @@ def require_python_2_with_working_base64(): # python2.4.[01] was broken. nodeid_b32 = 't5g7egomnnktbpydbuijt6zgtmw4oqi5' from base64 import b32decode - nodeid = b32decode(nodeid_b32) + nodeid = b32decode(nodeid_b32.upper()) if nodeid != "\x9fM\xf2\x19\xcckU0\xbf\x03\r\x10\x99\xfb&\x9b-\xc7A\x1d": raise NotImplementedError("There is a bug in this base64 module: %r. This was a known issue in Python v2.4.0 and v2.4.1 (http://bugs.python.org/issue1171487 ). Tahoe-LAFS current requires Python v2.4.2 or greater (but less than v3). The current Python version is %r" % (base64, sys.version_info,))