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.
Changes merged at: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest/commit/?id=6c01a6f96eefd2b3930094c986ad436ab9c33ad5 http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe/commit/?id=7583be0cb0cff1d5acd2864494c12be01f96b071