diff options
author | Ross Burton <ross@burtonini.com> | 2021-10-13 16:10:24 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-14 22:32:50 +0100 |
commit | 09ca5e87ec3e19303587c3534e6445ff1d70e473 (patch) | |
tree | d74c39ac0bf8ff4c0aafdfc2bbe5cc3a721a7bd7 /oe-init-build-env | |
parent | b6611957cc19b70c51e49af8552f81e0a347a393 (diff) | |
download | poky-09ca5e87ec3e19303587c3534e6445ff1d70e473.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: 875a944392a3c93f40081a14af357f70b6b8264f)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'oe-init-build-env')
0 files changed, 0 insertions, 0 deletions