Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bitbake: codegen: 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. (Bitbake rev: c05fdba174a206a756d2d6d283f2c901fd2ad474) Signed-off-by: Ross Burton <[email protected]> Signed-off-by: Richard Purdie <[email protected]>
- Loading branch information