diff options
author | Stefan Schmidt <s.schmidt@samsung.com> | 2019-11-21 16:51:23 +0100 |
---|---|---|
committer | Stefan Schmidt <s.schmidt@samsung.com> | 2019-12-20 09:26:17 +0100 |
commit | 55389ccf25b1f37284cdcda39f9dc2b67d6ec878 (patch) | |
tree | 1df9a94d7d5e4be97c822a758bbfa3621fc04261 | |
parent | 8146728c780914614ec49177edd5ea18030065e3 (diff) | |
download | efl-55389ccf25b1f37284cdcda39f9dc2b67d6ec878.tar.gz |
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
-rwxr-xr-x | examples_checks.py | 1 | ||||
-rwxr-xr-x | generate_widget_header.py | 4 | ||||
-rwxr-xr-x | src/scripts/eina/eina-bench-cmp | 1 |
3 files changed, 1 insertions, 5 deletions
diff --git a/examples_checks.py b/examples_checks.py index f456e6be58..0129b40560 100755 --- a/examples_checks.py +++ b/examples_checks.py @@ -1,6 +1,5 @@ #!/usr/bin/python3 import os -import sys import subprocess import json import time diff --git a/generate_widget_header.py b/generate_widget_header.py index d4a323400f..c1de110855 100755 --- a/generate_widget_header.py +++ b/generate_widget_header.py @@ -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') diff --git a/src/scripts/eina/eina-bench-cmp b/src/scripts/eina/eina-bench-cmp index 63926c27ae..9ff68e2a2c 100755 --- a/src/scripts/eina/eina-bench-cmp +++ b/src/scripts/eina/eina-bench-cmp @@ -1,6 +1,5 @@ #!/usr/bin/env python2 -import sys import os import os.path import csv |