##// END OF EJS Templates
pure: use string for another exception in the pure version of base85...
marmoute -
r44082:4cd91104 stable
parent child Browse files
Show More
@@ -70,7 +70,7 b' def b85decode(text):'
70 'bad base85 character at position %d' % (i + j)
70 'bad base85 character at position %d' % (i + j)
71 )
71 )
72 if acc > 4294967295:
72 if acc > 4294967295:
73 raise ValueError(b'Base85 overflow in hunk starting at byte %d' % i)
73 raise ValueError('Base85 overflow in hunk starting at byte %d' % i)
74 out.append(acc)
74 out.append(acc)
75
75
76 # Pad final chunk if necessary
76 # Pad final chunk if necessary
General Comments 0
You need to be logged in to leave comments. Login now