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, 3 insertions, 0 deletions
diff --git a/paste/urlparser.py b/paste/urlparser.py
index 10a0364..0c2acc4 100644
--- a/paste/urlparser.py
+++ b/paste/urlparser.py
@@ -466,3 +466,6 @@ class StaticURLParser(object):
def __repr__(self):
return '<%s %r>' % (self.__class__.__name__, self.directory)
+
+def make_static(global_conf, document_root):
+ return StaticURLParser(document_root)