diff options
author | Frazer Clews <frazer.clews@codethink.co.uk> | 2020-01-16 16:55:18 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-19 13:31:05 +0000 |
commit | 0ac5174c7d39a3e49893df0d517d47bec1935555 (patch) | |
tree | 479496afb1da7814071e39e888e8926cd03bec57 /bitbake/lib/bb/ui/ncurses.py | |
parent | 444bcb6cb6be8d5205fc88790360d864e633a555 (diff) | |
download | poky-0ac5174c7d39a3e49893df0d517d47bec1935555.tar.gz |
bitbake: lib: remove unused imports
removed unused imports which made the code harder to read, and slightly
but less efficient
(Bitbake rev: 4367692a932ac135c5aa4f9f2a4e4f0150f76697)
Signed-off-by: Frazer Clews <frazer.clews@codethink.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/ncurses.py')
-rw-r--r-- | bitbake/lib/bb/ui/ncurses.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/ncurses.py b/bitbake/lib/bb/ui/ncurses.py index c422732b26..49569e375b 100644 --- a/bitbake/lib/bb/ui/ncurses.py +++ b/bitbake/lib/bb/ui/ncurses.py | |||
@@ -37,7 +37,7 @@ | |||
37 | 37 | ||
38 | 38 | ||
39 | import logging | 39 | import logging |
40 | import os, sys, itertools, time, subprocess | 40 | import os, sys, itertools, time |
41 | 41 | ||
42 | try: | 42 | try: |
43 | import curses | 43 | import curses |
@@ -46,7 +46,6 @@ except ImportError: | |||
46 | 46 | ||
47 | import bb | 47 | import bb |
48 | import xmlrpc.client | 48 | import xmlrpc.client |
49 | from bb import ui | ||
50 | from bb.ui import uihelper | 49 | from bb.ui import uihelper |
51 | 50 | ||
52 | parsespin = itertools.cycle( r'|/-\\' ) | 51 | parsespin = itertools.cycle( r'|/-\\' ) |