~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to serve-branches.py

  • Committer: Michael Hudson
  • Date: 2008-06-23 02:37:05 UTC
  • mto: This revision was merged to the branch mainline in revision 171.
  • Revision ID: michael.hudson@canonical.com-20080623023705-wid5yrjjux8cssoa
more readme stuff

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/env python
2
 
import logging
3
2
import sys
4
3
 
5
4
from paste import httpserver
8
7
 
9
8
from loggerhead.apps.filesystem import BranchesFromFileSystemRoot
10
9
 
11
 
 
12
 
logging.basicConfig()
13
 
logging.getLogger().setLevel(logging.DEBUG)
14
 
 
15
10
if len(sys.argv) > 1:
16
11
    path = sys.argv[1]
17
12
else: