changeset 1940:c3624283c9ec namespaces

remove some unused imports
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 03 Feb 2013 22:29:55 +0100
parents ac5c618b96ca
children 9136b83cce24
files MoinMoin/items/__init__.py MoinMoin/storage/middleware/indexing.py
diffstat 2 files changed, 1 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/items/__init__.py	Sun Feb 03 17:38:03 2013 +0100
+++ b/MoinMoin/items/__init__.py	Sun Feb 03 22:29:55 2013 +0100
@@ -17,9 +17,6 @@
     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
@@ -41,7 +38,7 @@
 from MoinMoin.security.textcha import TextCha, TextChaizedForm
 from MoinMoin.signalling import item_modified
 from MoinMoin.storage.middleware.protecting import AccessDenied
-from MoinMoin.storage.error import NoSuchItemError, NoSuchRevisionError, StorageError
+from MoinMoin.storage.error import NoSuchItemError, NoSuchRevisionError
 from MoinMoin.i18n import L_
 from MoinMoin.themes import render_template
 from MoinMoin.util.mime import Type
--- a/MoinMoin/storage/middleware/indexing.py	Sun Feb 03 17:38:03 2013 +0100
+++ b/MoinMoin/storage/middleware/indexing.py	Sun Feb 03 22:29:55 2013 +0100
@@ -56,8 +56,6 @@
 import itertools
 import time
 import datetime
-import types
-from StringIO import StringIO
 
 from MoinMoin import log
 logging = log.getLogger(__name__)
@@ -67,7 +65,6 @@
 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, \
                            PseudoFieldPlugin
@@ -91,7 +88,6 @@
 from MoinMoin import user
 from MoinMoin.search.analyzers import item_name_analyzer, MimeTokenizer, AclTokenizer
 from MoinMoin.themes import utctimestamp
-from MoinMoin.util.crypto import make_uuid
 from MoinMoin.storage.middleware.validation import ContentMetaSchema, UserMetaSchema
 from MoinMoin.storage.error import NoSuchItemError, ItemAlreadyExistsError