diff options
author | Ross Burton <ross@burtonini.com> | 2021-12-10 11:08:14 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-12-17 10:02:40 +0000 |
commit | 4ce984316d038eaed2f48533b31d0a1898942f0a (patch) | |
tree | 94e44706c27a710e7de72dd0d96e678af39f7e4b /scripts/lib/argparse_oe.py | |
parent | 869c4597bb1d9435120a387e6bd5b6e961eea668 (diff) | |
download | poky-4ce984316d038eaed2f48533b31d0a1898942f0a.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: 067fbe5e12a81225cf3ff436837af6a6d23040a6)
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 'scripts/lib/argparse_oe.py')
0 files changed, 0 insertions, 0 deletions