Mercurial > hg-stable
changeset 49371:270f8e89ff32 stable
py3: stop using deprecated Element.getchildren() method in convert/darcs
This has been deprecated since py3.2, and removed entirely in py3.9
author | Ian Moody <moz-ian@perix.co.uk> |
---|---|
date | Sun, 12 Jun 2022 16:04:57 +0100 |
parents | 6833ccc5e74e |
children | f8ec7b16c98f |
files | hgext/convert/darcs.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/convert/darcs.py Sun Jun 12 16:01:31 2022 +0100 +++ b/hgext/convert/darcs.py Sun Jun 12 16:04:57 2022 +0100 @@ -178,7 +178,7 @@ copies = {} changes = [] man = None - for elt in self.changes[rev].find('summary').getchildren(): + for elt in self.changes[rev].find('summary'): if elt.tag in ('add_directory', 'remove_directory'): continue if elt.tag == 'move':