diff options
author | Ross Burton <ross@burtonini.com> | 2021-10-13 16:10:24 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-11-03 11:18:56 +0000 |
commit | 990c499176629fa4d9a6f7cf01f0208d32723f45 (patch) | |
tree | e1da824b94a98b3b76fce72509814ed4e63f785d /meta/classes/cml1.bbclass | |
parent | 0e3391131391cae16307bd7255311eb528605f25 (diff) | |
download | poky-990c499176629fa4d9a6f7cf01f0208d32723f45.tar.gz |
license.bbclass: 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: d91fe6ecb9fbb410b3bab6ced66b7fe5f869cf83)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 875a944392a3c93f40081a14af357f70b6b8264f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/cml1.bbclass')
0 files changed, 0 insertions, 0 deletions