~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: Matt Nordhoff
  • Date: 2009-10-09 16:23:47 UTC
  • Revision ID: mnordhoff@mattnordhoff.com-20091009162347-yycmggfhs8r0xsk0
serve_http was passing a transport to BranchesFromTransportRoot, not an URL.

This is a waste of a transport object, but oh well.

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
        if not transport.is_readonly():
80
80
            argv.insert(0, '--allow-writes')
81
81
        config = LoggerheadConfig(argv)
82
 
        app = BranchesFromTransportRoot(transport, config)
 
82
        app = BranchesFromTransportRoot(transport.base, config)
83
83
        app = HTTPExceptionHandler(app)
84
84
        serve(app, host=host, port=port)
85
85