diff options
author | Ross Burton <ross@burtonini.com> | 2021-10-13 16:10:23 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-11-03 11:18:56 +0000 |
commit | 0e3391131391cae16307bd7255311eb528605f25 (patch) | |
tree | c4935382edbb1250c23652ab1b058e33be79ab18 /meta/classes/license.bbclass | |
parent | b967cce9f4bab7b3f9bd0551083bd007c4c055db (diff) | |
download | poky-0e3391131391cae16307bd7255311eb528605f25.tar.gz |
oe/license: implement ast.NodeVisitor.visit_Constant
Since Python 3.8 visit_Num(), visit_Str() and so on are all deprecated
and replaced with visit_Constant. We can't yet remove the deprecated
functions until we require 3.8, but we can implement visit_Constant to
silence the deprecation warnings.
(From OE-Core rev: 18f10a51387cdee7c7058a3cb3f7c8c24c57c36a)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit abc93390a3f19bc4cc159c5690a478b9e2270906)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/license.bbclass')
0 files changed, 0 insertions, 0 deletions