[bitbake-devel] [PATCH 05/11] toaster: fix typo in format string

Alex DAMIAN alexandru.damian at intel.com
Mon May 11 10:58:36 UTC 2015


From: Ed Bartosh <ed.bartosh at linux.intel.com>

Fixed TypeError: not all arguments converted during string formatting

[YOCTO #7618]

Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
---
 lib/toaster/orm/models.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/toaster/orm/models.py b/lib/toaster/orm/models.py
index b9bb896..c00c352 100644
--- a/lib/toaster/orm/models.py
+++ b/lib/toaster/orm/models.py
@@ -52,7 +52,7 @@ class ToasterSetting(models.Model):
     value = models.CharField(max_length=255)
 
     def __unicode__(self):
-        return "Setting %s = " % (self.name, self.value)
+        return "Setting %s = %s" % (self.name, self.value)
 
 class ProjectManager(models.Manager):
     def create_project(self, name, release):
-- 
1.9.1




More information about the bitbake-devel mailing list