python: remove not needed imports in various python scripts

Should not be much harm but could help to have the minimum imports
needed when used in deployment.

Reported-By: https://lgtm.com/projects/g/Enlightenment/efl
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D10885
This commit is contained in:
Stefan Schmidt 2019-11-21 16:51:23 +01:00
parent 8146728c78
commit 55389ccf25
3 changed files with 1 additions and 5 deletions

View File

@ -1,6 +1,5 @@
#!/usr/bin/python3
import os
import sys
import subprocess
import json
import time

View File

@ -1,7 +1,7 @@
#!/usr/bin/python3
import sys
import os
from ete3 import Tree, TreeStyle, AttrFace, CircleFace, faces, NodeStyle
from ete3 import Tree, TreeStyle, AttrFace, faces, NodeStyle
import argparse
parser = argparse.ArgumentParser(description='Create a image showing all widgets')
@ -11,8 +11,6 @@ G = parser.parse_args()
sys.path.insert(0, os.path.join(G.sourcedir, 'src', 'scripts', 'pyolian'))
import eolian
from eolian import Eolian_Type_Type
from eolian import Eolian_Type_Builtin_Type
SCAN_FOLDER = os.path.join(G.sourcedir, 'src', 'lib')

View File

@ -1,6 +1,5 @@
#!/usr/bin/env python2
import sys
import os
import os.path
import csv