Show More
@@ -27,6 +27,7 b' from collections import namedtuple' | |||||
27 | import json |
|
27 | import json | |
28 | import logging |
|
28 | import logging | |
29 | import datetime |
|
29 | import datetime | |
|
30 | import urllib | |||
30 |
|
31 | |||
31 | from pylons.i18n.translation import _ |
|
32 | from pylons.i18n.translation import _ | |
32 | from pylons.i18n.translation import lazy_ugettext |
|
33 | from pylons.i18n.translation import lazy_ugettext | |
@@ -785,7 +786,8 b' class PullRequestModel(BaseModel):' | |||||
785 | if pull_request.is_closed(): |
|
786 | if pull_request.is_closed(): | |
786 | return None |
|
787 | return None | |
787 | else: |
|
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 | def notify_reviewers(self, pull_request, reviewers_ids): |
|
792 | def notify_reviewers(self, pull_request, reviewers_ids): | |
791 | # notification to reviewers |
|
793 | # notification to reviewers |
General Comments 0
You need to be logged in to leave comments.
Login now