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

« back to all changes in this revision

Viewing changes to ivle/webapp/submit/__init__.py

  • Committer: Matt Giuca
  • Date: 2010-02-11 07:06:54 UTC
  • Revision ID: matt.giuca@gmail.com-20100211070654-25xsp2v4lg3dhn2c
ivle/webapp/submit: Full stops in errors for consistency.

Show diffs side-by-side

added added

removed removed

Lines of Context:
89
89
            # This view's offering will be the sole offering for which the
90
90
            # path is permissible. We need to check that.
91
91
            if project.project_set.offering is not self.offering:
92
 
                raise BadRequest('Path is not permissible for this offering')
 
92
                raise BadRequest('Path is not permissible for this offering.')
93
93
 
94
94
            if project is None:
95
 
                raise BadRequest('Specified project does not exist')
 
95
                raise BadRequest('Specified project does not exist.')
96
96
 
97
97
            project.submit(self.context, unicode(self.path), revision, req.user)
98
98