Commit 518caa4b authored by Tim Peters's avatar Tim Peters

scan(): If the status byte has an unexpected value, show it in hex

rather than as a (probably) unprintable character.
parent bf47fe07
......@@ -661,7 +661,7 @@ class FileCache(object):
elif status in '1234':
size = int(status)
else:
assert 0, status
assert 0, hex(ord(status))
self.filemap[ofs] = size, ent
if ent is None and size > max_free_size:
......
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