Show More
@@ -583,7 +583,7 b' class obsstore(object):' | |||||
583 | try: |
|
583 | try: | |
584 | return self.svfs.stat(b'obsstore').st_size > 1 |
|
584 | return self.svfs.stat(b'obsstore').st_size > 1 | |
585 | except OSError as inst: |
|
585 | except OSError as inst: | |
586 |
if inst.errno |
|
586 | if inst.errno not in (errno.ENOENT, errno.EINVAL): | |
587 | raise |
|
587 | raise | |
588 | # just build an empty _all list if no obsstore exists, which |
|
588 | # just build an empty _all list if no obsstore exists, which | |
589 | # avoids further stat() syscalls |
|
589 | # avoids further stat() syscalls |
General Comments 0
You need to be logged in to leave comments.
Login now