diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2021-09-16 22:22:34 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-17 07:26:23 +0100 |
commit | cee517568bfbf7d7eaddf197fbc1ed7d1c54c7e0 (patch) | |
tree | 1f16bc65752845f74bdb9914e5dcf7c4e4c6f47c /bitbake/lib/bblayers | |
parent | 5c24982cc935488535251237f9e2fd097a134112 (diff) | |
download | poky-cee517568bfbf7d7eaddf197fbc1ed7d1c54c7e0.tar.gz |
bitbake: bitbake: fix regexp deprecation warnings
See here for details:
https://docs.python.org/3/library/re.html
(Bitbake rev: 660e6ad4abb77c6f3c1d48bd64777dd76c05d7e2)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bblayers')
-rw-r--r-- | bitbake/lib/bblayers/query.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bblayers/query.py b/bitbake/lib/bblayers/query.py index 6e94c83076..525d4f0d47 100644 --- a/bitbake/lib/bblayers/query.py +++ b/bitbake/lib/bblayers/query.py | |||
@@ -441,10 +441,10 @@ NOTE: .bbappend files can impact the dependencies. | |||
441 | line = fnfile.readline() | 441 | line = fnfile.readline() |
442 | 442 | ||
443 | # The "require/include xxx" in conf/machine/*.conf, .inc and .bbclass | 443 | # The "require/include xxx" in conf/machine/*.conf, .inc and .bbclass |
444 | conf_re = re.compile(".*/conf/machine/[^\/]*\.conf$") | 444 | conf_re = re.compile(r".*/conf/machine/[^\/]*\.conf$") |
445 | inc_re = re.compile(".*\.inc$") | 445 | inc_re = re.compile(r".*\.inc$") |
446 | # The "inherit xxx" in .bbclass | 446 | # The "inherit xxx" in .bbclass |
447 | bbclass_re = re.compile(".*\.bbclass$") | 447 | bbclass_re = re.compile(r".*\.bbclass$") |
448 | for layerdir in self.bblayers: | 448 | for layerdir in self.bblayers: |
449 | layername = self.get_layer_name(layerdir) | 449 | layername = self.get_layer_name(layerdir) |
450 | for dirpath, dirnames, filenames in os.walk(layerdir): | 450 | for dirpath, dirnames, filenames in os.walk(layerdir): |