~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/apps/__init__.py

  • Committer: Robey Pointer
  • Date: 2007-05-21 07:46:30 UTC
  • Revision ID: robey@lag.net-20070521074630-afkk5g3x2654wfpm
bug 113313: remove 0x0C (page break) from the list of characters that
identify a file as binary.

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
 
from bzrlib.plugin import load_plugins
8
 
 
9
 
static = os.path.join(
10
 
    os.path.dirname(os.path.dirname(__file__)), 'static')
11
 
 
12
 
static_app = urlparser.make_static(None, static)
13
 
 
14
 
favicon_app = fileapp.FileApp(os.path.join(static, 'images', 'favicon.ico'))
15
 
robots_app = fileapp.FileApp(os.path.join(static, 'robots.txt'))
16
 
 
17
 
# load plugins - such as svn:// support, extra formats and so on.
18
 
load_plugins()