~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to serve-branches.py

  • Committer: Michael Hudson
  • Date: 2008-06-25 04:03:34 UTC
  • mfrom: (173.1.2 loggerhead.no_sqlite)
  • Revision ID: michael.hudson@canonical.com-20080625040334-x2daw2vgg2z2d0ew
merge martin's sqlite_optional branch

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: