[Buildroot] [git commit] utils/{check-package, checkpackagelib}: consistently use raw strings for re.compile

Peter Korsgaard peter at korsgaard.com
Fri Aug 28 16:33:55 UTC 2020


>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at bootlin.com> writes:

 > commit: https://git.buildroot.net/buildroot/commit/?id=163f160a8e12e1cae4b43d7c8152d4370f12c442
 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

 > Raw strings need to be used when calling re.compile() otherwise Python
 > 3.x flake8 complains with:

 > W605 invalid escape sequence '\s'

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
 > Reviewed-by: Titouan Christophe <titouan.christophe at railnova.eu>
 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>

Committed to 2020.02.x and 2020.05.x, thanks.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list