mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-09 23:28:06 -05:00
cryptsuite: another Python 3 compatibility fix.
Ahem. Re-broke P3 compatibility later in the same batch of commits that fixed it!
This commit is contained in:
parent
8d88cd21ef
commit
1ce95c7ad8
@ -970,7 +970,7 @@ class crypt(MyTestBase):
|
||||
def pattern(badblk, otherblks, pat):
|
||||
# Arrange copies of the bad block in a pattern
|
||||
# corresponding to the given bit string.
|
||||
retstr = ""
|
||||
retstr = b""
|
||||
while pat != 0:
|
||||
retstr += (badblk if pat & 1 else next(otherblks))
|
||||
pat >>= 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user