Skip to content
Commit d91fe6ec authored by Ross Burton's avatar Ross Burton Committed by Steve Sakoman
Browse files

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.

Signed-off-by: default avatarRoss Burton <ross.burton@arm.com>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 875a9443)
Signed-off-by: default avatarSteve Sakoman <steve@sakoman.com>
parent 18f10a51
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment