bitbake: toaster: fix typo in models.py

The typo caused the tasks table to break when a task has no
help text.

(Bitbake rev: f1b794e6abba5c7cdda49666a7ff27db7dd6ea72)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Belen Barros Pena authored and Richard Purdie committed 2015-02-27 07:36:04 +00:00
1 parent e2b5d231b2
commit 63e5d478f5
1 file changed
+1 -1
+1 -1
View File
@@ -366,7 +366,7 @@ class Task(models.Model):
return self._helptext
try:
self._helptext = HelpText.objects.get(key=self.task_name, area=HelpText.VARIABLE, build=self.build).text
except HelpText.DoesNotExit:
except HelpText.DoesNotExist:
self._helptext = None
return self._helptext