[libvirt] [PATCH Rust v2] api_tests.py: update to use Python 3

Signed-off-by: Zixing Liu <liushuyu@aosc.io> --- tools/api_tests.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/api_tests.py b/tools/api_tests.py index b26ec34..9e66c92 100644 --- a/tools/api_tests.py +++ b/tools/api_tests.py @@ -47,10 +47,10 @@ def main(): else: missing.add(el) - print "missing: %s, implemented: %s" % (len(missing), len(implemented)) - print "missing:" + print("missing: %s, implemented: %s" % (len(missing), len(implemented))) + print("missing:") for x in missing: - print x.attrib + print(x.attrib) #print "implemented:" #for x in implemented: # print x.attrib -- 2.24.0

On Tue, 2019-11-12 at 13:27 -0700, Zixing Liu wrote:
Signed-off-by: Zixing Liu <liushuyu@aosc.io> --- tools/api_tests.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Looks good now! Reviewed-by: Andrea Bolognani <abologna@redhat.com> and pushed. Congratulations on your first contribution to libvirt-rust :) -- Andrea Bolognani / Red Hat / Virtualization
participants (2)
-
Andrea Bolognani
-
Zixing Liu