~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Aaron Bentley
  • Date: 2007-08-20 13:07:12 UTC
  • mfrom: (2732 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2733.
  • Revision ID: abentley@panoramicfeedback.com-20070820130712-buopmg528zcgwyxc
Merge bzr.dev

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)