diff contrib/import-checker.py @ 49370:1572f790ee5e stable

convert: remove old ElementTree import cruft from darcs All the `import elementtree` attempts seem to pre-date py2.5, when it was brought into the standard library, and the manual `cElementTree` fast implementation import has been unnecessary and deprecated since py3.3.
author Ian Moody <moz-ian@perix.co.uk>
date Wed, 15 Jun 2022 01:01:02 +0100
parents 8dec9abf2669
children ada9a0245fd7
line wrap: on
line diff
--- a/contrib/import-checker.py	Thu Jun 16 20:44:52 2022 +0200
+++ b/contrib/import-checker.py	Wed Jun 15 01:01:02 2022 +0100
@@ -47,6 +47,7 @@
     'mercurial.thirdparty.zope',
     'mercurial.thirdparty.zope.interface',
     'typing',
+    'xml.etree.ElementTree',
 )
 
 # Allow list of symbols that can be directly imported.