Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

tinker with automated Team review ticket #3762

Merged
merged 1 commit into from
Sep 8, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions gratipay/models/team.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,9 @@ def create_github_review_issue(self):
"""POST to GitHub, and return the URL of the new issue.
"""
api_url = "https://api.github.com/repos/{}/issues".format(self.review_repo)
data = json.dumps({ "title": "review {}".format(self.name)
, "body": "https://gratipay.com/{}/".format(self.slug)
data = json.dumps({ "title": self.name
, "body": "https://gratipay.com/{}/\n\n".format(self.slug) +
"(This application will remain open for at least a week.)"
})
r = requests.post(api_url, auth=self.review_auth, data=data)
if r.status_code == 201:
Expand Down