diff options
| author | Dongxiao Xu <dongxiao.xu@intel.com> | 2012-04-01 20:14:11 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-05 14:00:26 +0100 |
| commit | 20ea123c2841dd35f49fcdcc92cd3ce6d907c23f (patch) | |
| tree | 91f378068b8586ec38251b09f4048b12ce91974c | |
| parent | 9cc1e863566bedd64af96f19be37be5359cf2ac8 (diff) | |
| download | poky-20ea123c2841dd35f49fcdcc92cd3ce6d907c23f.tar.gz | |
Hob: Remove some calling of initiate_new_build()
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.
(Bitbake rev: c184cefe90115623e2312ad2bbe34ea95788c129)
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rwxr-xr-x | bitbake/lib/bb/ui/crumbs/imagedetailspage.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/imagedetailspage.py b/bitbake/lib/bb/ui/crumbs/imagedetailspage.py index b70440de5e..b12014a3c8 100755 --- a/bitbake/lib/bb/ui/crumbs/imagedetailspage.py +++ b/bitbake/lib/bb/ui/crumbs/imagedetailspage.py | |||
| @@ -403,7 +403,6 @@ class ImageDetailsPage (HobPage): | |||
| 403 | response, path = self.builder.show_load_template_dialog() | 403 | response, path = self.builder.show_load_template_dialog() |
| 404 | if not response: | 404 | if not response: |
| 405 | return | 405 | return |
| 406 | self.builder.initiate_new_build() | ||
| 407 | if path: | 406 | if path: |
| 408 | self.builder.load_template(path) | 407 | self.builder.load_template(path) |
| 409 | 408 | ||
| @@ -415,6 +414,5 @@ class ImageDetailsPage (HobPage): | |||
| 415 | response, settings_changed = self.builder.show_adv_settings_dialog() | 414 | response, settings_changed = self.builder.show_adv_settings_dialog() |
| 416 | if not response: | 415 | if not response: |
| 417 | return | 416 | return |
| 418 | self.builder.initiate_new_build() | ||
| 419 | if settings_changed: | 417 | if settings_changed: |
| 420 | self.builder.reparse_post_adv_settings() | 418 | self.builder.reparse_post_adv_settings() |
