Commit 8329d37a authored by Albertas Agejevas's avatar Albertas Agejevas

A buglet discovered by ZEO tests.

parent 79d2cc9c
...@@ -243,7 +243,7 @@ class GC(FileStorageFormatter): ...@@ -243,7 +243,7 @@ class GC(FileStorageFormatter):
try: try:
th = self._read_txn_header(pos) th = self._read_txn_header(pos)
except CorruptedDataError as err: except CorruptedDataError as err:
if err.buf != "": if err.buf != b"":
raise raise
if th.status == 'p': if th.status == 'p':
# Delayed import to cope with circular imports. # Delayed import to cope with circular imports.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment