diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2021-10-19 10:06:11 -1000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-23 17:47:38 +0100 |
commit | d3ace96aec911bec0e6c65377192fc0773e413c9 (patch) | |
tree | edeaed0da6b048f958d4b92ab5d1565505bb02d6 /bitbake | |
parent | 3e3434ee1022158a397af870090151e9988a9e9b (diff) | |
download | poky-d3ace96aec911bec0e6c65377192fc0773e413c9.tar.gz |
bitbake: bitbake: fix regexp deprecation warnings
See here for details:
https://docs.python.org/3/library/re.html
(Bitbake rev: d5ac4af74ba62a27232ff16931e8f3b22fc43112)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 660e6ad4abb77c6f3c1d48bd64777dd76c05d7e2)
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-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 fb6f550ec2..652a3acce0 100644 --- a/bitbake/lib/bblayers/query.py +++ b/bitbake/lib/bblayers/query.py | |||
@@ -433,10 +433,10 @@ NOTE: .bbappend files can impact the dependencies. | |||
433 | line = fnfile.readline() | 433 | line = fnfile.readline() |
434 | 434 | ||
435 | # The "require/include xxx" in conf/machine/*.conf, .inc and .bbclass | 435 | # The "require/include xxx" in conf/machine/*.conf, .inc and .bbclass |
436 | conf_re = re.compile(".*/conf/machine/[^\/]*\.conf$") | 436 | conf_re = re.compile(r".*/conf/machine/[^\/]*\.conf$") |
437 | inc_re = re.compile(".*\.inc$") | 437 | inc_re = re.compile(r".*\.inc$") |
438 | # The "inherit xxx" in .bbclass | 438 | # The "inherit xxx" in .bbclass |
439 | bbclass_re = re.compile(".*\.bbclass$") | 439 | bbclass_re = re.compile(r".*\.bbclass$") |
440 | for layerdir in self.bblayers: | 440 | for layerdir in self.bblayers: |
441 | layername = self.get_layer_name(layerdir) | 441 | layername = self.get_layer_name(layerdir) |
442 | for dirpath, dirnames, filenames in os.walk(layerdir): | 442 | for dirpath, dirnames, filenames in os.walk(layerdir): |