aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Kearns <bdkearns@gmail.com>2013-03-08 05:54:25 -0500
committerBrian Kearns <bdkearns@gmail.com>2013-03-08 05:54:25 -0500
commit399588595ef8b87d11af4ebb095ce41859c1c200 (patch)
tree8b784dd45886f324f392f2890168279bc40cc12e /lib_pypy/_sha.py
parentmore datetime cleanups (diff)
downloadpypy-399588595ef8b87d11af4ebb095ce41859c1c200.tar.gz
pypy-399588595ef8b87d11af4ebb095ce41859c1c200.tar.bz2
pypy-399588595ef8b87d11af4ebb095ce41859c1c200.zip
reduce diff with py3k
Diffstat (limited to 'lib_pypy/_sha.py')
-rw-r--r--lib_pypy/_sha.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib_pypy/_sha.py b/lib_pypy/_sha.py
index cde0a56bcc..de7d11cf7d 100644
--- a/lib_pypy/_sha.py
+++ b/lib_pypy/_sha.py
@@ -35,7 +35,7 @@ def _long2bytesBigEndian(n, blocksize=0):
"""
# After much testing, this algorithm was deemed to be the fastest.
- s = ''
+ s = b''
pack = struct.pack
while n > 0:
s = pack('>I', n & 0xffffffff) + s