From 0f27c802d986f08e5eded60ec0221c0600d237f8 Mon Sep 17 00:00:00 2001 From: Karthikeyan Singaravelan Date: Wed, 15 Jul 2020 12:46:00 +0000 Subject: [PATCH] Use ElementTree instead of deprecated cElementTree. --- bin/import_swc.py | 2 +- bin/import_tuda.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/import_swc.py b/bin/import_swc.py index 6ccf256c..3775de05 100755 --- a/bin/import_swc.py +++ b/bin/import_swc.py @@ -14,7 +14,7 @@ import sys import tarfile import unicodedata import wave -import xml.etree.cElementTree as ET +import xml.etree.ElementTree as ET from collections import Counter from glob import glob from multiprocessing.pool import ThreadPool diff --git a/bin/import_tuda.py b/bin/import_tuda.py index d56efa58..da0cb42b 100755 --- a/bin/import_tuda.py +++ b/bin/import_tuda.py @@ -9,7 +9,7 @@ import os import tarfile import unicodedata import wave -import xml.etree.cElementTree as ET +import xml.etree.ElementTree as ET from collections import Counter import progressbar