diff options
author | Stephen Finucane <stephen.finucane@intel.com> | 2015-12-06 18:13:25 +0000 |
---|---|---|
committer | Stephen Finucane <stephen.finucane@intel.com> | 2016-01-19 21:55:25 +0000 |
commit | 026cf7e3108c9c3c3f877b007289832541334ef0 (patch) | |
tree | 646fe700949bbb4df163014ff7d0915b98e3a93f /patchwork/templatetags | |
parent | c88c818519be7556e2bbfcbdf0211206f1a6c582 (diff) | |
download | patchwork-026cf7e3108c9c3c3f877b007289832541334ef0.tar patchwork-026cf7e3108c9c3c3f877b007289832541334ef0.tar.gz |
views: Split up 'base'
This is a collection of unrelated functions, many of which belong in
their own file. Do this, taking the opportunity to rename some of these
functions to better indicate their purpose in the process.
Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
Diffstat (limited to 'patchwork/templatetags')
-rw-r--r-- | patchwork/templatetags/person.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/patchwork/templatetags/person.py b/patchwork/templatetags/person.py index 6829019..d35203b 100644 --- a/patchwork/templatetags/person.py +++ b/patchwork/templatetags/person.py @@ -38,9 +38,9 @@ def personify(person, project): else: linktext = escape(person.email) - url = reverse( - 'patchwork.views.patch.list', kwargs={'project_id': project.linkname}) - str = '<a href="%s?%s=%s">%s</a>' % \ - (url, SubmitterFilter.param, escape(person.id), linktext) + url = reverse('patchwork.views.patch.list', + kwargs={'project_id': project.linkname}) + str = '<a href="%s?%s=%s">%s</a>' % ( + url, SubmitterFilter.param, escape(person.id), linktext) return mark_safe(str) |