~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

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

Remove remaining uses of req.throw_error in the new webapps.

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
 
65
65
        _, localpath = studpath.url_to_local(self.path)
66
66
        if localpath is None:
67
 
            req.throw_error(req.HTTP_NOT_FOUND,
68
 
                "The path specified is invalid.")
 
67
            raise NotFound()
69
68
 
70
69
        # Start writing data
71
70