summaryrefslogtreecommitdiff
path: root/paste/urlparser.py
diff options
context:
space:
mode:
authorianb <devnull@localhost>2006-08-29 17:49:19 +0000
committerianb <devnull@localhost>2006-08-29 17:49:19 +0000
commit1babd312445eff5cbbd176f681e329f0b28ce57e (patch)
treef98c1a2a1d1f3e1843999a2e6c69f44d87609cab /paste/urlparser.py
parente8e8c440bd9f31e7b8409229f28a70383b87e33c (diff)
downloadpaste-1babd312445eff5cbbd176f681e329f0b28ce57e.tar.gz
Buglet from 2 commits ago
Diffstat (limited to 'paste/urlparser.py')
-rw-r--r--paste/urlparser.py3
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):