From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga11.intel.com ([192.55.52.93]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1Rb5eE-0001Ne-TF for bitbake-devel@lists.openembedded.org; Thu, 15 Dec 2011 08:22:35 +0100 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP; 14 Dec 2011 23:14:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.71,315,1320652800"; d="scan'208";a="96410155" Received: from dongxiao-desktop.sh.intel.com (HELO localhost) ([10.239.36.108]) by fmsmga001.fm.intel.com with ESMTP; 14 Dec 2011 23:14:28 -0800 From: Dongxiao Xu To: bitbake-devel@lists.openembedded.org Date: Thu, 15 Dec 2011 15:15:00 +0800 Message-Id: X-Mailer: git-send-email 1.7.0.4 In-Reply-To: References: In-Reply-To: References: Subject: [PATCH 09/10] cooker: remove command import in cooker.py X-BeenThere: bitbake-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Dec 2011 07:22:35 -0000 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. Signed-off-by: Dongxiao Xu --- lib/bb/cooker.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) 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") -- 1.7.0.4