[bitbake-devel,09/10] cooker: remove command import in cooker.py

Submitted by Dongxiao Xu on Dec. 15, 2011, 7:15 a.m.


Message ID c6a123c47eacb4ca9ce79a60657f8f2ed5f1a314.1323933009.git.dongxiao.xu@intel.com
State Accepted
Commit 92fec2788e33d301cc63848901bc6adc764a2ecf
Headers show

Commit Message

Dongxiao Xu Dec. 15, 2011, 7:15 a.m.
There is no direct use of command in cooker.py, and it is using
bb.command instead. Remove command in the import list.

This fixes a problem of embedded import between command.py and

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
 lib/bb/cooker.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Patch hide | download patch | download mbox

diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index 4401a66..54bf880 100644
--- a/lib/bb/cooker.py
+++ b/lib/bb/cooker.py
@@ -34,8 +34,8 @@  from cStringIO import StringIO
 from contextlib import closing
 from functools import wraps
 from collections import defaultdict
-import bb, bb.exceptions
-from bb import utils, data, parse, event, cache, providers, taskdata, command, runqueue
+import bb, bb.exceptions, bb.command
+from bb import utils, data, parse, event, cache, providers, taskdata, runqueue
 logger      = logging.getLogger("BitBake")
 collectlog  = logging.getLogger("BitBake.Collection")