[Tracker-discuss] [issue624] bpo emails contain useless non-github pull_request number - users want a link to actual github PR

Berker Peksag metatracker at psf.upfronthosting.co.za
Sun Jun 10 11:34:11 EDT 2018


Berker Peksag <berker.peksag at gmail.com> added the comment:

Note that the regex code can be probably be simplified, I'm open to suggestions. I'm not sure whether re.S is still needed.

+        pr_number = db.pull_request.get(pr_number, 'number')

Also, I need to be more defensive here and don't do anything if the query returned an empty result.

_______________________________________________________
PSF Meta Tracker <metatracker at psf.upfronthosting.co.za>
<http://psf.upfronthosting.co.za/roundup/meta/issue624>
_______________________________________________________


More information about the Tracker-discuss mailing list