~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/apps/__init__.py

  • Committer: Robey Pointer
  • Date: 2006-12-16 01:43:52 UTC
  • Revision ID: robey@lag.net-20061216014352-euf7pthd6ik80p6n
some suggestions from bazaar-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
"""WSGI applications for serving Bazaar branches."""
2
 
 
3
 
import os
4
 
 
5
 
from paste import urlparser, fileapp
6
 
 
7
 
static = os.path.join(
8
 
    os.path.dirname(os.path.dirname(__file__)), 'static')
9
 
 
10
 
static_app = urlparser.make_static(None, static)
11
 
 
12
 
favicon_app = fileapp.FileApp(os.path.join(static, 'images', 'favicon.ico'))
13
 
robots_app = fileapp.FileApp(os.path.join(static, 'robots.txt'))