Show More
@@ -58,7 +58,9 def persisted_data(revlog): | |||||
58 | else: |
|
58 | else: | |
59 | data = fd.read(data_length) |
|
59 | data = fd.read(data_length) | |
60 | except OSError as e: |
|
60 | except OSError as e: | |
61 |
if e.errno |
|
61 | if e.errno == errno.ENOENT: | |
|
62 | return None | |||
|
63 | else: | |||
62 | raise |
|
64 | raise | |
63 | if len(data) < data_length: |
|
65 | if len(data) < data_length: | |
64 | return None |
|
66 | return None |
General Comments 0
You need to be logged in to leave comments.
Login now