summaryrefslogtreecommitdiff
path: root/paste/urlparser.py
diff options
context:
space:
mode:
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):