diff options
author | ianb <devnull@localhost> | 2007-08-14 21:55:14 +0000 |
---|---|---|
committer | ianb <devnull@localhost> | 2007-08-14 21:55:14 +0000 |
commit | 8d4553430453bfc92a9603e278c0c531d30fb0d6 (patch) | |
tree | beb4703348756a0e0268a0af3f1288b683d9db4f /paste/exceptions | |
parent | e3d67962770444225f6371cd5e689e94ee7edd8e (diff) | |
download | paste-8d4553430453bfc92a9603e278c0c531d30fb0d6.tar.gz |
fix import order
Diffstat (limited to 'paste/exceptions')
-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') |