diff options
author | ianb <devnull@localhost> | 2006-08-29 17:49:19 +0000 |
---|---|---|
committer | ianb <devnull@localhost> | 2006-08-29 17:49:19 +0000 |
commit | 1babd312445eff5cbbd176f681e329f0b28ce57e (patch) | |
tree | f98c1a2a1d1f3e1843999a2e6c69f44d87609cab /paste/urlparser.py | |
parent | e8e8c440bd9f31e7b8409229f28a70383b87e33c (diff) | |
download | paste-1babd312445eff5cbbd176f681e329f0b28ce57e.tar.gz |
Buglet from 2 commits ago
Diffstat (limited to 'paste/urlparser.py')
-rw-r--r-- | paste/urlparser.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/paste/urlparser.py b/paste/urlparser.py index cc90658..2ca824c 100644 --- a/paste/urlparser.py +++ b/paste/urlparser.py @@ -518,7 +518,8 @@ def make_static(global_conf, document_root, cache_max_age=None): """ if cache_max_age is not None: cache_max_age = int(cache_max_age) - return StaticURLParser(document_root, **kw) + return StaticURLParser( + document_root, cache_max_age=cache_max_age) class PkgResourcesParser(StaticURLParser): |