diff options
author | 2022-05-22 09:00:13 +0200 | |
---|---|---|
committer | 2022-05-22 13:13:45 +0100 | |
commit | fdda6460c0821b194fd93baed9d2affbb6d4035b (patch) | |
tree | 4b015df3a959930373355060f95a6dcb187902e2 | |
parent | 458c70b9128bae5d4c0df6ddc6682f290d4b230b (diff) | |
download | poky-master.tar.gz poky-master.tar.bz2 poky-master.zip |
* fixes:
bitbake/lib/bb/fetch2/osc.py:93: DeprecationWarning: invalid escape sequence '\d'
match = re.match('<directory ?.* rev="(\d+)".*>', output)
(Bitbake rev: 6a346df51b96a6c0e1ee516df36eb0b6c292b063)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | bitbake/lib/bb/fetch2/osc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/osc.py b/bitbake/lib/bb/fetch2/osc.py index dd02f03780..86f8ddf47b 100644 --- a/bitbake/lib/bb/fetch2/osc.py +++ b/bitbake/lib/bb/fetch2/osc.py @@ -90,7 +90,7 @@ class Osc(FetchMethod): api_source_cmd = self._buildosccommand(ud, d, "api_source") output = runfetchcmd(api_source_cmd, d) - match = re.match('<directory ?.* rev="(\d+)".*>', output) + match = re.match(r'<directory ?.* rev="(\d+)".*>', output) if match is None: raise FetchError("Unable to parse osc response", ud.url) return match.groups()[0] |