Berker Peksag <berker.pek...@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 <metatrac...@psf.upfronthosting.co.za>
<http://psf.upfronthosting.co.za/roundup/meta/issue624>
_______________________________________________________
_______________________________________________
Tracker-discuss mailing list
Tracker-discuss@python.org
https://mail.python.org/mailman/listinfo/tracker-discuss
Code of Conduct: https://www.python.org/psf/codeofconduct/

Reply via email to