]> code.ossystems Code Review - openembedded-core.git/commit
meta: Fix Deprecated warnings from regexs
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 14 Jan 2019 15:49:50 +0000 (15:49 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 14 Jan 2019 23:02:47 +0000 (23:02 +0000)
commit4b1c0c7d5525fc4cea9e0f02ec54e92a6fbc6199
treea7cd5e4a23914ba5b5812b98587d97c5e8b8dd2f
parentfa7020c040189ae904625b5c60c8a7e79dc1145e
meta: 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.

Note that some show up as:

"""
meta/classes/package.bbclass:1293: DeprecationWarning: invalid escape sequence \.  

"""

where the problem isn't on 1293 in package.bbclass but in some _prepend to a
package.bbclass function in a different file like mesa.inc, often from
do_package_split() calls.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
30 files changed:
meta/classes/debian.bbclass
meta/classes/gconf.bbclass
meta/classes/kernel-module-split.bbclass
meta/classes/kernel.bbclass
meta/classes/libc-package.bbclass
meta/classes/package.bbclass
meta/lib/oe/license.py
meta/lib/oe/package.py
meta/lib/oe/package_manager.py
meta/lib/oe/patch.py
meta/lib/oe/rootfs.py
meta/lib/oe/utils.py
meta/recipes-connectivity/connman/connman.inc
meta/recipes-core/ncurses/ncurses.inc
meta/recipes-core/util-linux/util-linux.inc
meta/recipes-devtools/llvm/llvm_git.bb
meta/recipes-devtools/orc/orc_0.4.28.bb
meta/recipes-devtools/perl-sanity/perl-ptest.inc
meta/recipes-devtools/perl-sanity/perl_5.28.1.bb
meta/recipes-extended/iptables/iptables_1.6.2.bb
meta/recipes-extended/lighttpd/lighttpd_1.4.52.bb
meta/recipes-extended/pam/libpam_1.3.0.bb
meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.36.11.bb
meta/recipes-gnome/gtk+/gtk+3.inc
meta/recipes-gnome/gtk+/gtk+_2.24.32.bb
meta/recipes-graphics/mesa/mesa.inc
meta/recipes-graphics/xorg-lib/libxcb_1.13.1.bb
meta/recipes-multimedia/alsa/alsa-plugins_1.1.6.bb
meta/recipes-multimedia/gstreamer/gst-plugins-package.inc
meta/recipes-multimedia/pulseaudio/pulseaudio.inc