diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-01-14 15:50:51 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-01-14 16:12:30 +0000 |
commit | c1fcc46e2498ddd41425d8756754f814d682aba3 (patch) | |
tree | ee8367f90ab043e192481284ddc485d372f3670a /lib/bb/siggen.py | |
parent | 52a144a7daa94b2bd239d582cb71d1f03119918f (diff) | |
download | bitbake-c1fcc46e2498ddd41425d8756754f814d682aba3.tar.gz |
bitbake: Fix Deprecated warnings from regexs
Fix handling of escape characters in regexs and hence fix python
Deprecation warnings which will be problematic in python 3.8.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/siggen.py')
-rw-r--r-- | lib/bb/siggen.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/siggen.py b/lib/bb/siggen.py index 66aea7935..03aa08bb9 100644 --- a/lib/bb/siggen.py +++ b/lib/bb/siggen.py @@ -90,7 +90,7 @@ class SignatureGeneratorBasic(SignatureGenerator): self.taints = {} self.gendeps = {} self.lookupcache = {} - self.pkgnameextract = re.compile("(?P<fn>.*)\..*") + self.pkgnameextract = re.compile(r"(?P<fn>.*)\..*") self.basewhitelist = set((data.getVar("BB_HASHBASE_WHITELIST") or "").split()) self.taskwhitelist = None self.init_rundepcheck(data) |