From dab99ce6d6957ddd106e3d83414dbe23b45182c6 Mon Sep 17 00:00:00 2001 From: Chad Whitacre Date: Tue, 8 Sep 2015 01:30:07 -0400 Subject: [PATCH] Tinker with automated Team review ticket Drop the redundant "review" (we now have a dedicate repo) and add the helpful note about it taking a week. --- gratipay/models/team.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gratipay/models/team.py b/gratipay/models/team.py index b9d5a346b6..b737077b1c 100644 --- a/gratipay/models/team.py +++ b/gratipay/models/team.py @@ -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: