~ivle-dev/ivle/new-file-browser

« back to all changes in this revision

Viewing changes to ivle/webapp/filesystem/browser/__init__.py

  • Committer: William Grant
  • Date: 2010-07-03 08:34:04 UTC
  • Revision ID: grantw@unimelb.edu.au-20100703083404-0x5npvx4zxvigzye
Switch / directory redirection back on, now that we can detect it from the published subpath.

Show diffs side-by-side

added added

removed removed

Lines of Context:
115
115
        self.context = self.provider_factory()
116
116
        if self.context is None or not self.context.exists(self.path):
117
117
            raise NotFound()
118
 
        return
119
 
        # TODO: Restore this.
120
118
        if self.context.isdir(self.path) and not self.path.endswith('/'):
121
119
            req.throw_redirect(req.uri + '/')
122
120