From 9cfe4642212323b1f3b1f8e4d6c82f6ccda9e4ad Mon Sep 17 00:00:00 2001 From: mattvchandler Date: Tue, 15 Dec 2020 11:16:01 -0900 Subject: [PATCH] replace deprecated getchildren() --- motoflash2sh.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/motoflash2sh.py b/motoflash2sh.py index 21644da..6622a19 100644 --- a/motoflash2sh.py +++ b/motoflash2sh.py @@ -52,7 +52,7 @@ def main(): md5sums = {} sha1sums = {} - for step in steps.getchildren(): + for step in steps: assert step.tag == 'step' if 'MD5' in step.keys() and 'filename' in step.keys(): md5sums[step.get('filename')] = step.get('MD5') @@ -64,7 +64,7 @@ def main(): checksums = checker + ' --check <