/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/transport/http/wsgi.py

  • Committer: Martin Pool
  • Date: 2007-08-21 03:53:07 UTC
  • mfrom: (2736 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2738.
  • Revision ID: mbp@sourcefrog.net-20070821035307-krkxgs8g0eryzl2r
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
        path = environ[self.path_var]
77
77
        suffix = '/.bzr/smart'
78
78
        if not (path.startswith(self.prefix) and path.endswith(suffix)):
79
 
            start_response('404 Not Found', {})
 
79
            start_response('404 Not Found', [])
80
80
            return []
81
81
        environ['bzrlib.relpath'] = path[len(self.prefix):-len(suffix)]
82
82
        return self.app(environ, start_response)