summaryrefslogtreecommitdiffstats
path: root/bitbake
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:36:04 +0000
commit63e5d478f520e098957a86be53041b1bb84f6b98 (patch)
treebdfc191252a5b1873ba2d1fc383443dee7201928 /bitbake
parente2b5d231b2686429b6e3e9e9547fad08b95f4265 (diff)
downloadpoky-63e5d478f520e098957a86be53041b1bb84f6b98.tar.gz
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>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/toaster/orm/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/orm/models.py b/bitbake/lib/toaster/orm/models.py
index 9e6089b729..d2b579f90b 100644
--- a/bitbake/lib/toaster/orm/models.py
+++ b/bitbake/lib/toaster/orm/models.py
@@ -366,7 +366,7 @@ class Task(models.Model):
366 return self._helptext 366 return self._helptext
367 try: 367 try:
368 self._helptext = HelpText.objects.get(key=self.task_name, area=HelpText.VARIABLE, build=self.build).text 368 self._helptext = HelpText.objects.get(key=self.task_name, area=HelpText.VARIABLE, build=self.build).text
369 except HelpText.DoesNotExit: 369 except HelpText.DoesNotExist:
370 self._helptext = None 370 self._helptext = None
371 371
372 return self._helptext 372 return self._helptext