Show More
@@ -465,9 +465,9 b' def b85diff(to, tn):' | |||
|
465 | 465 | def fmtline(line): |
|
466 | 466 | l = len(line) |
|
467 | 467 | if l <= 26: |
|
468 | l = chr(ord('A') + l - 1) | |
|
468 | l = pycompat.bytechr(ord('A') + l - 1) | |
|
469 | 469 | else: |
|
470 | l = chr(l - 26 + ord('a') - 1) | |
|
470 | l = pycompat.bytechr(l - 26 + ord('a') - 1) | |
|
471 | 471 | return '%c%s\n' % (l, util.b85encode(line, True)) |
|
472 | 472 | |
|
473 | 473 | def chunk(text, csize=52): |
General Comments 0
You need to be logged in to leave comments.
Login now