summaryrefslogtreecommitdiff
path: root/generate_widget_header.py
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2019-11-21 16:51:23 +0100
committerStefan Schmidt <s.schmidt@samsung.com>2019-12-20 09:26:17 +0100
commit55389ccf25b1f37284cdcda39f9dc2b67d6ec878 (patch)
tree1df9a94d7d5e4be97c822a758bbfa3621fc04261 /generate_widget_header.py
parent8146728c780914614ec49177edd5ea18030065e3 (diff)
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
Diffstat (limited to 'generate_widget_header.py')
-rwxr-xr-xgenerate_widget_header.py4
1 files changed, 1 insertions, 3 deletions
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 @@
1#!/usr/bin/python3 1#!/usr/bin/python3
2import sys 2import sys
3import os 3import os
4from ete3 import Tree, TreeStyle, AttrFace, CircleFace, faces, NodeStyle 4from ete3 import Tree, TreeStyle, AttrFace, faces, NodeStyle
5import argparse 5import argparse
6 6
7parser = argparse.ArgumentParser(description='Create a image showing all widgets') 7parser = argparse.ArgumentParser(description='Create a image showing all widgets')
@@ -11,8 +11,6 @@ G = parser.parse_args()
11sys.path.insert(0, os.path.join(G.sourcedir, 'src', 'scripts', 'pyolian')) 11sys.path.insert(0, os.path.join(G.sourcedir, 'src', 'scripts', 'pyolian'))
12 12
13import eolian 13import eolian
14from eolian import Eolian_Type_Type
15from eolian import Eolian_Type_Builtin_Type
16 14
17SCAN_FOLDER = os.path.join(G.sourcedir, 'src', 'lib') 15SCAN_FOLDER = os.path.join(G.sourcedir, 'src', 'lib')
18 16