summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShane Wang <shane.wang@intel.com>2012-04-09 14:13:43 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-10 23:05:21 (GMT)
commitc5964a79c7ec74cabd81bf476ea844d5af361119 (patch)
tree96dd2837d74424c7e504d247bd83955fece5b4a6
parent2176e1489471ba30b19e9657959d7fcbcf06384c (diff)
downloadpoky-c5964a79c7ec74cabd81bf476ea844d5af361119.tar.gz
Hob: clean up request_package_info_async()
(Bitbake rev: e95b52820f26a7a35865e8978ea752053dccd4b1) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xbitbake/lib/bb/ui/crumbs/builder.py5
-rw-r--r--bitbake/lib/bb/ui/crumbs/hobeventhandler.py2
2 files changed, 5 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py
index a532d82..8529b05 100755
--- a/bitbake/lib/bb/ui/crumbs/builder.py
+++ b/bitbake/lib/bb/ui/crumbs/builder.py
@@ -381,6 +381,9 @@ class Builder(gtk.Window):
381 def get_parameters_sync(self): 381 def get_parameters_sync(self):
382 return self.handler.get_parameters() 382 return self.handler.get_parameters()
383 383
384 def request_package_info_async(self):
385 self.handler.request_package_info()
386
384 def load_template(self, path): 387 def load_template(self, path):
385 self.template = TemplateMgr() 388 self.template = TemplateMgr()
386 self.template.load(path) 389 self.template.load(path)
@@ -523,7 +526,7 @@ class Builder(gtk.Window):
523 self.handler.GENERATE_IMAGE]: 526 self.handler.GENERATE_IMAGE]:
524 params = self.get_parameters_sync() 527 params = self.get_parameters_sync()
525 self.configuration.update(params) 528 self.configuration.update(params)
526 self.handler.request_package_info_async() 529 self.request_package_info_async()
527 elif initcmd == self.handler.POPULATE_PACKAGEINFO: 530 elif initcmd == self.handler.POPULATE_PACKAGEINFO:
528 if self.current_step == self.RCPPKGINFO_POPULATING: 531 if self.current_step == self.RCPPKGINFO_POPULATING:
529 self.switch_page(self.RCPPKGINFO_POPULATED) 532 self.switch_page(self.RCPPKGINFO_POPULATED)
diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
index dd85530..1a7427a 100644
--- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
+++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
@@ -325,7 +325,7 @@ class HobHandler(gobject.GObject):
325 self.server.runCommand(["setVariable", "CVS_PROXY_HOST", host]) 325 self.server.runCommand(["setVariable", "CVS_PROXY_HOST", host])
326 self.server.runCommand(["setVariable", "CVS_PROXY_PORT", port]) 326 self.server.runCommand(["setVariable", "CVS_PROXY_PORT", port])
327 327
328 def request_package_info_async(self): 328 def request_package_info(self):
329 self.commands_async.append(self.SUB_GENERATE_PKGINFO) 329 self.commands_async.append(self.SUB_GENERATE_PKGINFO)
330 self.run_next_command(self.POPULATE_PACKAGEINFO) 330 self.run_next_command(self.POPULATE_PACKAGEINFO)
331 331