From 8d4553430453bfc92a9603e278c0c531d30fb0d6 Mon Sep 17 00:00:00 2001 From: ianb Date: Tue, 14 Aug 2007 21:55:14 +0000 Subject: fix import order --- paste/exceptions/errormiddleware.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'paste/exceptions') diff --git a/paste/exceptions/errormiddleware.py b/paste/exceptions/errormiddleware.py index 629963a..c7af7de 100644 --- a/paste/exceptions/errormiddleware.py +++ b/paste/exceptions/errormiddleware.py @@ -88,6 +88,7 @@ class ErrorMiddleware(object): error_subject_prefix=None, error_message=None, xmlhttp_key=None): + from paste.util import converters self.application = application # @@: global_conf should be handled elsewhere in a separate # function for the entry point @@ -97,7 +98,6 @@ class ErrorMiddleware(object): debug = converters.asbool(global_conf.get('debug')) if show_exceptions_in_wsgi_errors is NoDefault: show_exceptions_in_wsgi_errors = converters.asbool(global_conf.get('show_exceptions_in_wsgi_errors')) - from paste.util import converters self.debug_mode = converters.asbool(debug) if error_email is None: error_email = (global_conf.get('error_email') -- cgit v1.2.1