]> code.ossystems Code Review - openembedded-core.git/commitdiff
sanity.bbclass: add newline to check_create_long_filename failure message
authorJoshua Lock <josh@linux.intel.com>
Wed, 23 May 2012 23:19:23 +0000 (16:19 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 24 May 2012 07:34:51 +0000 (08:34 +0100)
Each failure in the sanity message should be reported on a new line.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
meta/classes/sanity.bbclass

index 5cf9ea135bb545e71f5fb32c969bc89f79161c73..39da14ba41879d2a845531226028c86cb1c4c5ec 100644 (file)
@@ -150,7 +150,7 @@ def check_create_long_filename(filepath, pathname):
         if errno == 36: # ENAMETOOLONG
             return "Failed to create a file with a long name in %s. Please use a filesystem that does not unreasonably limit filename length.\n" % pathname
         else:
-            return "Failed to create a file in %s: %s" % (pathname, strerror)
+            return "Failed to create a file in %s: %s.\n" % (pathname, strerror)
     return ""
 
 def check_connectivity(d):