From patchwork Fri Mar 30 12:01:17 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [bitbake-devel,5/7] Hob: Remove some calling of initiate_new_build() Date: Fri, 30 Mar 2012 12:01:17 -0000 From: Dongxiao Xu X-Patchwork-Id: 24935 Message-Id: To: bitbake-devel@lists.openembedded.org initiate_new_build() function is in async mode and could not be called before another async function. Also we could not initialize the build if user simply change a setting, therefore remove this function. Signed-off-by: Dongxiao Xu --- lib/bb/ui/crumbs/imagedetailspage.py | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/lib/bb/ui/crumbs/imagedetailspage.py b/lib/bb/ui/crumbs/imagedetailspage.py index b70440d..b12014a 100755 --- a/lib/bb/ui/crumbs/imagedetailspage.py +++ b/lib/bb/ui/crumbs/imagedetailspage.py @@ -403,7 +403,6 @@ class ImageDetailsPage (HobPage): response, path = self.builder.show_load_template_dialog() if not response: return - self.builder.initiate_new_build() if path: self.builder.load_template(path) @@ -415,6 +414,5 @@ class ImageDetailsPage (HobPage): response, settings_changed = self.builder.show_adv_settings_dialog() if not response: return - self.builder.initiate_new_build() if settings_changed: self.builder.reparse_post_adv_settings()