~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to serve-branches.py

  • Committer: Martin Albisetti
  • Date: 2008-06-25 09:43:29 UTC
  • mfrom: (176 trunk)
  • mto: This revision was merged to the branch mainline in revision 182.
  • Revision ID: argentina@gmail.com-20080625094329-5e4uud2ong0rtvy9
MergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

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