Comments (0)

Files changed (1)

File src/whoosh/filedb/ Modified

View file
  • Ignore whitespace
  • Hide word diff
                 # If that worked, we can close the file handle we were given
                 self._file = None
-            except OSError:
+            except (mmap.error, OSError):
                 e = sys.exc_info()[1]
                 # If we got an error because there wasn't enough memory to
                 # open the map, ignore it and fall through, we'll just use the