aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@intel.com>2015-02-26 21:41:54 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-27 07:35:08 +0000
commitf1b794e6abba5c7cdda49666a7ff27db7dd6ea72 (patch)
tree7dcbabcd3d6842290c0c541f3c25b18f3a73d052
parent7182cdd3c4a534a87147bb0aad7b360ffef6426b (diff)
downloadbitbake-f1b794e6abba5c7cdda49666a7ff27db7dd6ea72.tar.gz
toaster: fix typo in models.py
The typo caused the tasks table to break when a task has no help text. Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/toaster/orm/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/toaster/orm/models.py b/lib/toaster/orm/models.py
index 9e6089b72..d2b579f90 100644
--- a/lib/toaster/orm/models.py
+++ b/lib/toaster/orm/models.py
@@ -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