Bug 10795

Summary: patchtest:patchtest-oe: clean import statements on both projects
Product: [Yocto Project Subprojects] Patchwork/Patchtest Reporter: Leonardo Sandoval Gonzalez <leonardo.sandoval.gonzalez>
Component: PatchtestAssignee: Daniela Plascencia <daniela.plascencia>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: bluelightning
Version: 2.3   
Target Milestone: 2.3 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Leonardo Sandoval Gonzalez 2016-12-12 21:57:56 UTC
On both projects, there are several python files where importing specific functions from modules is being done, i.e from X import foo. This is not pythonic and we should have instead import X; X.foo(). In the other hand, there are probably some module imports where the later functions are not being used, so the primer must be removed.