Bug 10795 - patchtest:patchtest-oe: clean import statements on both projects
Summary: patchtest:patchtest-oe: clean import statements on both projects
Status: RESOLVED FIXED
Alias: None
Product: Patchwork/Patchtest
Classification: Yocto Project Subprojects
Component: Patchtest (show other bugs)
Version: 2.3
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.3 M2
Assignee: Daniela Plascencia
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-12-12 21:57 UTC by Leonardo Sandoval Gonzalez
Modified: 2017-12-06 17:20 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.