diff options
author | cce <devnull@localhost> | 2006-09-21 05:46:57 +0000 |
---|---|---|
committer | cce <devnull@localhost> | 2006-09-21 05:46:57 +0000 |
commit | 3559f127031598b0dcc2a243454d2c15309a109b (patch) | |
tree | adbc46bdde0022b8d751d173dfb0065c7319dcaa /paste/cgiapp.py | |
parent | 9e4f83947cdb42dffdff973d0b9b12a2f775e3b1 (diff) | |
download | paste-3559f127031598b0dcc2a243454d2c15309a109b.tar.gz |
Paste should not depend upon other paste modules, such
as Deploy. This patch moves 'converters' into paste.util
since it was being used within paste proper. I'll leave
it to those who know Deploy to update that.
- copied converters.py from paste.deploy to paste.util
- updated files that use paste.deploy.converters
Diffstat (limited to 'paste/cgiapp.py')
-rw-r--r-- | paste/cgiapp.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/paste/cgiapp.py b/paste/cgiapp.py index ff9da3a..17c308d 100644 --- a/paste/cgiapp.py +++ b/paste/cgiapp.py @@ -12,6 +12,8 @@ except ImportError: select = None import warnings +from paste.util import converters + __all__ = ['CGIError', 'CGIApplication'] class CGIError(Exception): @@ -258,7 +260,6 @@ def make_cgi_application(global_conf, script, path=None, include_os_environ=None """ if path is None: path = global_conf.get('path') or global_conf.get('PATH') - from paste.deploy import converters include_os_environ = converters.asbool(include_os_environ) return CGIApplication( script, path=path, include_os_environ=include_os_environ, |