~canonical-ca-hackers/isitdeployable/trunk

« back to all changes in this revision

Viewing changes to revtracker/data.py

  • Committer: James Westby
  • Date: 2014-03-26 15:35:43 UTC
  • Revision ID: james.westby@canonical.com-20140326153543-49xw8mxzs408j0dp
Handle description being None.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
    # in to a dict
34
34
    info = dict()
35
35
    info['name'] = project.name
36
 
    info['description'] = project.description
 
36
    info['description'] = project.description or ''
37
37
    info['url'] = reverse('project_view', args=(project.name,))
38
38
    return info
39
39