diff MoinMoin/app.py @ 950:57ac61f78053

MoinMoin.app: remove unneeded imports, cosmetic changes
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 09 Oct 2011 16:07:11 +0200
parents 10a358208aba
children a4d4c74721bc
line wrap: on
line diff
--- a/MoinMoin/app.py	Sun Oct 09 15:54:22 2011 +0200
+++ b/MoinMoin/app.py	Sun Oct 09 16:07:11 2011 +0200
@@ -12,8 +12,6 @@
 
 from __future__ import absolute_import, division
 
-import os
-
 # do this early, but not in MoinMoin/__init__.py because we need to be able to
 # "import MoinMoin" from setup.py even before flask, werkzeug, ... is installed.
 from MoinMoin.util import monkeypatch
@@ -25,8 +23,6 @@
 from flaskext.cache import Cache
 from flaskext.themes import setup_themes
 
-from werkzeug.exceptions import HTTPException
-
 from jinja2 import ChoiceLoader, FileSystemLoader
 
 from MoinMoin import log
@@ -152,6 +148,7 @@
     del clock
     return app
 
+
 def destroy_app(app):
     deinit_backends(app)
 
@@ -179,6 +176,7 @@
         app.storage.create()
     app.storage.open()
 
+
 def deinit_backends(app):
     app.storage.close()
     app.router.close()