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-16 15:35:07 +0000 |
commit | e5455662a9762fc2cb8859134d855413d84fd265 (patch) | |
tree | ad7c3c6b258415ab9b92ed4b04a1ce0c2f6c9eb7 /bitbake/lib/bb/siggen.py | |
parent | ca4a8eea6284aad41ec67b375c2a7c7855b5fe11 (diff) | |
download | poky-e5455662a9762fc2cb8859134d855413d84fd265.tar.gz |
bitbake: 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.
(Bitbake rev: c1fcc46e2498ddd41425d8756754f814d682aba3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/siggen.py')
-rw-r--r-- | bitbake/lib/bb/siggen.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py index 66aea79355..03aa08bb94 100644 --- a/bitbake/lib/bb/siggen.py +++ b/bitbake/lib/bb/siggen.py | |||
@@ -90,7 +90,7 @@ class SignatureGeneratorBasic(SignatureGenerator): | |||
90 | self.taints = {} | 90 | self.taints = {} |
91 | self.gendeps = {} | 91 | self.gendeps = {} |
92 | self.lookupcache = {} | 92 | self.lookupcache = {} |
93 | self.pkgnameextract = re.compile("(?P<fn>.*)\..*") | 93 | self.pkgnameextract = re.compile(r"(?P<fn>.*)\..*") |
94 | self.basewhitelist = set((data.getVar("BB_HASHBASE_WHITELIST") or "").split()) | 94 | self.basewhitelist = set((data.getVar("BB_HASHBASE_WHITELIST") or "").split()) |
95 | self.taskwhitelist = None | 95 | self.taskwhitelist = None |
96 | self.init_rundepcheck(data) | 96 | self.init_rundepcheck(data) |