diff MoinMoin/themes/__init__.py @ 2923:f09bf7d9578e

fix E402 errors; imports not at top of file after installing pep8 1.6.1; partial fix for #492
author RogerHaase <haaserd@gmail.com>
date Sat, 21 Feb 2015 08:15:07 -0700
parents ec34b7876eeb
children 456c68761e96
line wrap: on
line diff
--- a/MoinMoin/themes/__init__.py	Fri Feb 20 13:39:30 2015 -0700
+++ b/MoinMoin/themes/__init__.py	Sat Feb 21 08:15:07 2015 -0700
@@ -17,9 +17,6 @@
 from flask import url_for, request
 from flask.ext.themes import get_theme, render_theme_template
 
-from MoinMoin import log
-logging = log.getLogger(__name__)
-
 from MoinMoin.i18n import _, L_, N_
 from MoinMoin import wikiutil, user
 from MoinMoin.constants.keys import USERID, ADDRESS, HOSTNAME, REVID, ITEMID, NAME_EXACT, ASSIGNED_TO
@@ -32,6 +29,9 @@
 from MoinMoin.util.clock import timed
 from MoinMoin.util.mime import Type
 
+from MoinMoin import log
+logging = log.getLogger(__name__)
+
 
 def get_current_theme():
     # this might be called at a time when flaskg.user is not setup yet: