/loggerhead/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/loggerhead/trunk

« back to all changes in this revision

Viewing changes to loggerhead/controllers/annotate_ui.py

  • Committer: Martin Albisetti
  • Date: 2008-10-25 19:09:54 UTC
  • mto: This revision was merged to the branch mainline in revision 233.
  • Revision ID: martin.albisetti@canonical.com-20081025190954-nmtzc7enxrl6swwu
80 char fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
        revid = h.fix_revid(revid)
42
42
        file_id = kwargs.get('file_id', None)
43
43
        if (file_id is None) and (path is None):
44
 
            raise HTTPBadRequest('No file_id or filename provided to annotate')
 
44
            raise HTTPBadRequest('No file_id or filename '
 
45
                                 'provided to annotate')
45
46
 
46
47
        if file_id is None:
47
48
            file_id = h.get_file_id(revid, path)