changeset 1914:eb68960b1dfb

remove unused imports
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 26 Mar 2007 01:24:53 +0200
parents 6769679b26f6
children ed85c389031d bb2e053067fb
files MoinMoin/action/info.py MoinMoin/converter/text_html_text_moin_wiki.py MoinMoin/macro/EmbedObject.py MoinMoin/macro/ImageLink.py MoinMoin/parser/text_rst.py MoinMoin/server/TWISTED.py MoinMoin/stats/useragents.py MoinMoin/theme/classic.py
diffstat 8 files changed, 4 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/action/info.py	Mon Mar 26 00:20:53 2007 +0200
+++ b/MoinMoin/action/info.py	Mon Mar 26 01:24:53 2007 +0200
@@ -8,7 +8,6 @@
                 2006 by MoinMoin:ThomasWaldmann
     @license: GNU GPL, see COPYING for details.
 """
-import os
 
 from MoinMoin import config, wikiutil, action
 from MoinMoin.Page import Page
--- a/MoinMoin/converter/text_html_text_moin_wiki.py	Mon Mar 26 00:20:53 2007 +0200
+++ b/MoinMoin/converter/text_html_text_moin_wiki.py	Mon Mar 26 01:24:53 2007 +0200
@@ -9,7 +9,7 @@
 import xml.dom.minidom # HINT: the nodes in parse result tree need .has_key(), "x in ..." does not work
 from xml.dom import Node
 
-from MoinMoin import config, wikiutil, error
+from MoinMoin import config, wikiutil
 from MoinMoin.error import ConvertError
 
 # Portions (C) International Organization for Standardization 1986
--- a/MoinMoin/macro/EmbedObject.py	Mon Mar 26 00:20:53 2007 +0200
+++ b/MoinMoin/macro/EmbedObject.py	Mon Mar 26 01:24:53 2007 +0200
@@ -119,7 +119,7 @@
         2007-02-10 OliverSiemoneit: alt and noembed tags added for AccessibleMoin; fixed
                    output abstraction violation.
 """
-import os, mimetypes
+import mimetypes
 
 from MoinMoin import wikiutil
 from MoinMoin.action import AttachFile
--- a/MoinMoin/macro/ImageLink.py	Mon Mar 26 00:20:53 2007 +0200
+++ b/MoinMoin/macro/ImageLink.py	Mon Mar 26 01:24:53 2007 +0200
@@ -92,7 +92,6 @@
     @license: GNU GPL, see COPYING for details.
 """
 
-import os
 from MoinMoin import wikiutil
 from MoinMoin.action import AttachFile
 
--- a/MoinMoin/parser/text_rst.py	Mon Mar 26 00:20:53 2007 +0200
+++ b/MoinMoin/parser/text_rst.py	Mon Mar 26 01:24:53 2007 +0200
@@ -15,8 +15,6 @@
 import __builtin__
 import sys
 
-import os
-
 # docutils imports are below
 from MoinMoin.parser.text_moin_wiki import Parser as WikiParser
 from MoinMoin.Page import Page
--- a/MoinMoin/server/TWISTED.py	Mon Mar 26 00:20:53 2007 +0200
+++ b/MoinMoin/server/TWISTED.py	Mon Mar 26 01:24:53 2007 +0200
@@ -22,7 +22,7 @@
 """
 
 from twisted.application import internet, service
-from twisted.web import script, static, server, vhost, resource, util
+from twisted.web import static, server, vhost, resource
 from twisted.internet import threads, reactor
 
 try:
--- a/MoinMoin/stats/useragents.py	Mon Mar 26 00:20:53 2007 +0200
+++ b/MoinMoin/stats/useragents.py	Mon Mar 26 01:24:53 2007 +0200
@@ -117,7 +117,7 @@
 
 
 def draw(pagename, request):
-    import shutil, cStringIO, operator
+    import shutil, cStringIO
     from MoinMoin.stats.chart import Chart, ChartData, Color
 
     _ = request.getText
--- a/MoinMoin/theme/classic.py	Mon Mar 26 00:20:53 2007 +0200
+++ b/MoinMoin/theme/classic.py	Mon Mar 26 01:24:53 2007 +0200
@@ -14,7 +14,6 @@
 
 from MoinMoin import caching
 from MoinMoin.theme import ThemeBase
-from MoinMoin.Page import Page
 
 
 class Theme(ThemeBase):