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

Reply via email to