Commit 264d6b96 authored by Michal Čihař's avatar Michal Čihař

Remove not used imports

parent a2cdbb35
......@@ -22,14 +22,11 @@
Whoosh based full text search.
'''
import whoosh
import os
from whoosh.fields import Schema, TEXT, ID
from whoosh.filedb.filestore import FileStorage
from whoosh import qparser
from django.db.models.signals import post_syncdb
from weblate import appsettings
from whoosh.index import create_in, open_dir
from whoosh.writing import AsyncWriter, BufferedWriter
from django.dispatch import receiver
from lang.models import Language
......@@ -114,7 +111,6 @@ def update_index(units, source_units=None):
'''
Updates fulltext index for given set of units.
'''
from trans.models import Unit
languages = Language.objects.all()
# Default to same set for both updates
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment