comparison genshi_view/template/+package+/factory.py_tmpl @ 11:8a7731b2126a

include a post method, a nav bar, and some jquery fun
author k0s <k0scist@gmail.com>
date Sat, 07 Nov 2009 22:49:46 -0500
parents 6dbdee663741
children
comparison
equal deleted inserted replaced
10:ffdfb79b30bf 11:8a7731b2126a
5 from paste.urlparser import StaticURLParser 5 from paste.urlparser import StaticURLParser
6 from pkg_resources import resource_filename 6 from pkg_resources import resource_filename
7 7
8 class PassthroughFileserver(object): 8 class PassthroughFileserver(object):
9 """serve files if they exist""" 9 """serve files if they exist"""
10 # XXX needed???
11 10
12 def __init__(self, app, directory): 11 def __init__(self, app, directory):
13 self.app = app 12 self.app = app
14 self.directory = directory 13 self.directory = directory
15 self.fileserver = StaticURLParser(self.directory) 14 self.fileserver = StaticURLParser(self.directory)