From: Chris Larson Date: Wed, 24 Mar 2010 03:24:32 +0000 (-0700) Subject: crumbs: fix hassattr typo X-Git-Tag: 2011-1~6089 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=b5f8ce02b73f3b9e3ac95808c8369d85a88dfa7a;p=openembedded-core.git crumbs: fix hassattr typo (Bitbake rev: 5593de13a18792e36d15dfd2a9579b36284e4d67) Signed-off-by: Chris Larson Signed-off-by: Richard Purdie --- diff --git a/bitbake/lib/bb/ui/crumbs/runningbuild.py b/bitbake/lib/bb/ui/crumbs/runningbuild.py index 401559255b..18afd6674d 100644 --- a/bitbake/lib/bb/ui/crumbs/runningbuild.py +++ b/bitbake/lib/bb/ui/crumbs/runningbuild.py @@ -61,7 +61,7 @@ class RunningBuild (gobject.GObject): # If we have a pid attached to this message/event try and get the # (package, task) pair for it. If we get that then get the parent iter # for the message. - if hassattr(event, 'pid'): + if hasattr(event, 'pid'): pid = event.pid if self.pids_to_task.has_key(pid): (package, task) = self.pids_to_task[pid]