summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2012-01-06 17:02:28 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-06 15:55:56 +0000
commit4c30a7e9a3fefca2b38a9ce813e67329bdd6e825 (patch)
tree85e6ba2f0fde730306aa0633f2d6a25bfffa71cd
parente69e5a7e0ba328f29faaeacf815690f2ca9daf41 (diff)
downloadpoky-4c30a7e9a3fefca2b38a9ce813e67329bdd6e825.tar.gz
poky-4c30a7e9a3fefca2b38a9ce813e67329bdd6e825.tar.bz2
poky-4c30a7e9a3fefca2b38a9ce813e67329bdd6e825.zip
cooker: remove command import in cooker.py
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 cooker.py. (Bitbake rev: 92fec2788e33d301cc63848901bc6adc764a2ecf) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/bb/cooker.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 1faf821aa5..102d40fda0 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/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")