fix build error with Typeerror 21/235421/1
authoryan11.meng <yan11.meng@samsung.com>
Thu, 4 Jun 2020 10:03:40 +0000 (18:03 +0800)
committeryan11.meng <yan11.meng@samsung.com>
Thu, 4 Jun 2020 10:03:40 +0000 (18:03 +0800)
Change-Id: Ia04aec6a394bee0ca53e5cee83259cac42ad6734

mic/bootstrap.py

index ba19a51490f20b8d9900a59d143b29ff19a2df12..e2ea8f1a03e27cd60503c77ea9e98099b859985c 100644 (file)
@@ -162,7 +162,7 @@ class MiniBackend(object):
         # list means some errors happened in the transaction and non-empty 
         # list that there were errors preventing the ts from starting...
         if errs is not None:
-             raise errors.BootstrapError("Transaction couldn't start: %s" % '\n'.join(errs))
+             raise errors.BootstrapError("Transaction couldn't start: %s" % errs)
 
     def run_pkg_script(self, pkg, prog, script, arg):
         mychroot = lambda: os.chroot(self.rootdir)