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/cascade.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/cascade.py')
-rw-r--r-- | paste/cascade.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/cascade.py b/paste/cascade.py index 341b335..847e73c 100644 --- a/paste/cascade.py +++ b/paste/cascade.py @@ -6,6 +6,7 @@ Cascades through several applications, so long as applications return ``404 Not Found``. """ import httpexceptions +from util import converters __all__ = ['Cascade'] @@ -21,7 +22,6 @@ def make_cascade(loader, global_conf, catch='404', **local_conf): ... catch = 404 500 ... """ - from paste.deploy import converters catch = map(int, converters.aslist(catch)) apps = [] for name, value in local_conf.items(): |