diff options
author | Ross Burton <ross@burtonini.com> | 2021-12-10 11:08:13 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-12-17 10:02:39 +0000 |
commit | 869c4597bb1d9435120a387e6bd5b6e961eea668 (patch) | |
tree | d34cda474a2bb51364bf8a21ecd5b575b2eef294 /meta/classes/license.bbclass | |
parent | 4cfb6247a2bbe0baaaa48fe925e631c56de5d869 (diff) | |
download | poky-869c4597bb1d9435120a387e6bd5b6e961eea668.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: c96241ac8e18f4ae87ec05b722a0bbfb017df578)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/license.bbclass')
0 files changed, 0 insertions, 0 deletions