diff options
author | Ian Bicking <ian@ianbicking.org> | 2007-08-14 21:55:14 +0000 |
---|---|---|
committer | Ian Bicking <ian@ianbicking.org> | 2007-08-14 21:55:14 +0000 |
commit | 524dc5796a28037208c92a18440a63a36582fe23 (patch) | |
tree | beb4703348756a0e0268a0af3f1288b683d9db4f | |
parent | a1c0daaef6c0eb15c77a56d49d99295b15e8c63b (diff) | |
download | paste-git-524dc5796a28037208c92a18440a63a36582fe23.tar.gz |
fix import order
-rw-r--r-- | paste/exceptions/errormiddleware.py | 2 |
1 files changed, 1 insertions, 1 deletions
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') |