diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2009-05-11 06:13:00 +0000 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2009-05-11 06:13:00 +0000 |
commit | 667bf5b303718f604afa06a3f2f5f7608005c096 (patch) | |
tree | 1fa6b84e1020361e38d028badbf5925a4b3ee557 /lib/bb/ui/ncurses.py | |
parent | 08486ea715c8f5e48dfa8936326df5261ba3f5cb (diff) | |
download | openembedded-core-contrib-667bf5b303718f604afa06a3f2f5f7608005c096.tar.gz |
[ui] Fix import statements reported by pyflakes
We ignore the following kind of warnings
import gtk
import gtk.glade...
as glade is not imported by default and need that extra line,
pyflakes does not know...
Diffstat (limited to 'lib/bb/ui/ncurses.py')
-rw-r--r-- | lib/bb/ui/ncurses.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/bb/ui/ncurses.py b/lib/bb/ui/ncurses.py index 3cac264648..2cd7e8e6e7 100644 --- a/lib/bb/ui/ncurses.py +++ b/lib/bb/ui/ncurses.py @@ -44,9 +44,9 @@ """ -import os, sys, curses, time, random, threading, itertools, time -from curses.textpad import Textbox +import os, sys, curses, itertools, time import bb +import xmlrpclib from bb import ui from bb.ui import uihelper @@ -180,6 +180,7 @@ class NCursesUI: def __init__( self, x, y, width, height ): NCursesUI.Window.__init__( self, x, y, width, height ) +# put that to the top again from curses.textpad import Textbox # self.textbox = Textbox( self.win ) # t = threading.Thread() # t.run = self.textbox.edit |