crumbs: fix hassattr typo

(Bitbake rev: 5593de13a18792e36d15dfd2a9579b36284e4d67)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Chris Larson 2010-03-23 20:24:32 -07:00 committed by Richard Purdie
parent c244243274
commit b5f8ce02b7
1 changed files with 1 additions and 1 deletions

View File

@ -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]