mirror of
https://github.com/Hopiu/xapian-haystack.git
synced 2026-04-14 20:00:59 +00:00
Removed check for writable path in __init__. Thanks to Jacob Kaplan-Moss for pointing it out.
This commit is contained in:
parent
fce97acf33
commit
027e9bf1f1
1 changed files with 0 additions and 3 deletions
|
|
@ -134,9 +134,6 @@ class SearchBackend(BaseSearchBackend):
|
|||
if not os.path.exists(settings.HAYSTACK_XAPIAN_PATH):
|
||||
os.makedirs(settings.HAYSTACK_XAPIAN_PATH)
|
||||
|
||||
if not os.access(settings.HAYSTACK_XAPIAN_PATH, os.W_OK):
|
||||
raise IOError("The path to your Xapian index '%s' is not writable for the current user/group." % settings.HAYSTACK_XAPIAN_PATH)
|
||||
|
||||
self.language = language
|
||||
self._schema = None
|
||||
self._content_field_name = None
|
||||
|
|
|
|||
Loading…
Reference in a new issue