Skip to content
Snippets Groups Projects
Commit 4cd91104 authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

pure: use string for another exception in the pure version of base85

That message does not seems tested, but I am assuming that the same reasoning as
for the previous changeset applies.
parent 4394687b
No related branches found
No related tags found
No related merge requests found
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
'bad base85 character at position %d' % (i + j) 'bad base85 character at position %d' % (i + j)
) )
if acc > 4294967295: if acc > 4294967295:
raise ValueError(b'Base85 overflow in hunk starting at byte %d' % i) raise ValueError('Base85 overflow in hunk starting at byte %d' % i)
out.append(acc) out.append(acc)
# Pad final chunk if necessary # Pad final chunk if necessary
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment