~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to serve-branches.py

  • Committer: Michael Hudson
  • Date: 2008-06-18 01:18:46 UTC
  • mto: This revision was merged to the branch mainline in revision 164.
  • Revision ID: michael.hudson@canonical.com-20080618011846-ir9ra21s234mbh2a
put things closer to where they belong

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
from loggerhead.apps.filesystem import BranchesFromFileSystemRoot
 
2
from paste import httpserver
 
3
from paste.httpexceptions import make_middleware
 
4
from paste.translogger import make_filter
 
5
 
 
6
app = BranchesFromFileSystemRoot('.')
 
7
 
 
8
app = app
 
9
app = make_middleware(app)
 
10
app = make_filter(app, None)
 
11
 
 
12
 
 
13
httpserver.serve(app, host='127.0.0.1', port='9876')