Thomas Waldmann avatar Thomas Waldmann committed c362428

remove some unused imports

Comments (0)

Files changed (2)


     Each class in this module corresponds to an itemtype.
-import time
-import itertools
-import types
 import json
 from StringIO import StringIO
 from collections import namedtuple
 from import TextCha, TextChaizedForm
 from MoinMoin.signalling import item_modified
 from import AccessDenied
-from import NoSuchItemError, NoSuchRevisionError, StorageError
+from import NoSuchItemError, NoSuchRevisionError
 from MoinMoin.i18n import L_
 from MoinMoin.themes import render_template
 from MoinMoin.util.mime import Type


 import itertools
 import time
 import datetime
-import types
-from StringIO import StringIO
 from MoinMoin import log
 logging = log.getLogger(__name__)
 from flask import current_app as app
 from whoosh.fields import Schema, TEXT, ID, IDLIST, NUMERIC, DATETIME, KEYWORD, BOOLEAN
-from whoosh.index import EmptyIndexError
 from whoosh.writing import AsyncWriter
 from whoosh.qparser import QueryParser, MultifieldParser, RegexPlugin, \
 from MoinMoin import user
 from import item_name_analyzer, MimeTokenizer, AclTokenizer
 from MoinMoin.themes import utctimestamp
-from MoinMoin.util.crypto import make_uuid
 from import ContentMetaSchema, UserMetaSchema
 from import NoSuchItemError, ItemAlreadyExistsError
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.