]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
[bb] Remove unused imports reported by pyflakes
authorHolger Hans Peter Freyther <zecke@selfish.org>
Mon, 11 May 2009 06:13:07 +0000 (06:13 +0000)
committerHolger Hans Peter Freyther <zecke@selfish.org>
Mon, 11 May 2009 06:13:07 +0000 (06:13 +0000)
lib/bb/COW.py
lib/bb/data.py
lib/bb/msg.py
lib/bb/providers.py
lib/bb/taskdata.py
lib/bb/xmlrpcserver.py

index 5db41776ec9663d7f6c4c3b6091b00cc0eccb2cc..ca206cf4b49d72fc323908cf0acdb48f2199bf1c 100644 (file)
@@ -23,8 +23,6 @@
 # Assign a file to __warn__ to get warnings about slow operations.
 #
 
-from inspect import getmro
-
 import copy
 import types
 types.ImmutableTypes = tuple([ \
index dc96767659eb2db75361961a84f29a83d97510b3..981b0b21801aef05cc4900d92951d4a3ba1df34f 100644 (file)
@@ -37,7 +37,7 @@ the speed is more critical here.
 #
 #Based on functions from the base bb module, Copyright 2003 Holger Schurig
 
-import sys, os, re, time, types
+import sys, os, re, types
 if sys.argv[0][-5:] == "pydoc":
     path = os.path.dirname(os.path.dirname(sys.argv[1]))
 else:
index 7aa0a27d252159f37f883a53810bc76f209220a9..7990833c2e0090c7263f43dc9edd6515f61730dd 100644 (file)
@@ -22,8 +22,8 @@ Message handling infrastructure for bitbake
 # with this program; if not, write to the Free Software Foundation, Inc.,
 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
-import sys, os, re, bb
-from bb import utils, event
+import sys, bb
+from bb import event
 
 debug_level = {}
 
index 3e842ee0cabbda638834995e8cd1e015404fe123..d0e71173df57747e242541043cb3856e65f70474 100644 (file)
@@ -21,7 +21,7 @@
 # with this program; if not, write to the Free Software Foundation, Inc.,
 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
-import os, re
+import re
 from bb import data, utils
 import bb
 
index 64ab032c3c8829c9f0517296a281c92a2df5d66d..52a4f4e647f881e01ccd990a6bbc83eec0c8d15e 100644 (file)
@@ -23,8 +23,7 @@ Task data collection and handling
 # with this program; if not, write to the Free Software Foundation, Inc.,
 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
-from bb import data, event, mkdirhier, utils
-import bb, os
+import bb
 
 class TaskData:
     """
index 075eda0573af96bad37a8603506dab2f66259494..2a23436b65f8c8ccab869b5e910a9d566979c53d 100644 (file)
@@ -37,7 +37,7 @@ import xmlrpclib
 DEBUG = False
 
 from SimpleXMLRPCServer import SimpleXMLRPCServer, SimpleXMLRPCRequestHandler
-import os, sys, inspect, select
+import inspect, select
 
 class BitBakeServerCommands():
     def __init__(self, server, cooker):