stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=55389ccf25b1f37284cdcda39f9dc2b67d6ec878

commit 55389ccf25b1f37284cdcda39f9dc2b67d6ec878
Author: Stefan Schmidt <[email protected]>
Date:   Thu Nov 21 16:51:23 2019 +0100

    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 <[email protected]>
    Differential Revision: https://phab.enlightenment.org/D10885
---
 examples_checks.py              | 1 -
 generate_widget_header.py       | 4 +---
 src/scripts/eina/eina-bench-cmp | 1 -
 3 files changed, 1 insertion(+), 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

-- 


Reply via email to