scripts: registry: remove unuesd imports
Suggested by https://peps.python.org/pep-0008/#imports.
Tested: parse_registries runs without issues.
Signed-off-by: Nan Zhou <nanzhoumails@gmail.com>
Change-Id: I380f8d64caf963ac799ba255b55e36101fb7a8e4
diff --git a/scripts/parse_registries.py b/scripts/parse_registries.py
index b2c2123..de560d8 100755
--- a/scripts/parse_registries.py
+++ b/scripts/parse_registries.py
@@ -1,17 +1,8 @@
#!/usr/bin/env python3
-import requests
-import zipfile
-from io import BytesIO
-import os
-from collections import defaultdict
-from collections import OrderedDict
-from distutils.version import StrictVersion
-import shutil
import json
-import glob
-import subprocess
+import os
-import xml.etree.ElementTree as ET
+import requests
WARNING = '''/****************************************************************
* READ THIS WARNING FIRST