Show More
@@ -27,6 +27,7 b' from collections import namedtuple' | |||
|
27 | 27 | import json |
|
28 | 28 | import logging |
|
29 | 29 | import datetime |
|
30 | import urllib | |
|
30 | 31 | |
|
31 | 32 | from pylons.i18n.translation import _ |
|
32 | 33 | from pylons.i18n.translation import lazy_ugettext |
@@ -785,7 +786,8 b' class PullRequestModel(BaseModel):' | |||
|
785 | 786 | if pull_request.is_closed(): |
|
786 | 787 | return None |
|
787 | 788 | else: |
|
788 |
|
|
|
789 | pr_url = urllib.unquote(self.get_url(pull_request)) | |
|
790 | return safe_unicode('{pr_url}/repository'.format(pr_url=pr_url)) | |
|
789 | 791 | |
|
790 | 792 | def notify_reviewers(self, pull_request, reviewers_ids): |
|
791 | 793 | # notification to reviewers |
General Comments 0
You need to be logged in to leave comments.
Login now