~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/apps/__init__.py

  • Committer: Marius Kruger
  • Date: 2008-10-01 16:39:00 UTC
  • mto: This revision was merged to the branch mainline in revision 228.
  • Revision ID: amanic@gmail.com-20081001163900-mpj2oj16oic7loh6
nest try to be python2.4 compatible again

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'))