Show More
@@ -592,7 +592,9 b' class matchctx(object):' | |||
|
592 | 592 | try: |
|
593 | 593 | return predfn(fctx) |
|
594 | 594 | except (IOError, OSError) as e: |
|
595 | if e.errno in (errno.ENOENT, errno.ENOTDIR, errno.EISDIR): | |
|
595 | # open()-ing a directory fails with EACCES on Windows | |
|
596 | if e.errno in (errno.ENOENT, errno.EACCES, errno.ENOTDIR, | |
|
597 | errno.EISDIR): | |
|
596 | 598 | return False |
|
597 | 599 | raise |
|
598 | 600 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now