Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 2/3] insane.bbclass: drop extra line-feed in pkgname check
Date: Fri, 18 Sep 2015 15:14:08 +0200	[thread overview]
Message-ID: <1442582049-12108-2-git-send-email-Martin.Jansa@gmail.com> (raw)
In-Reply-To: <1442582049-12108-1-git-send-email-Martin.Jansa@gmail.com>

* it was causing QA checck name to be shown on separate line like this:
  sblim-sfcCommon-1.0.1: sblim-sfcCommon-dev doesn't match the [a-z0-9.+-]+ regex
   [pkgname]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta/classes/insane.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index a35e546..c01c34a 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -1091,7 +1091,7 @@ python do_package_qa () {
         # Check package name
         if not pkgname_pattern.match(package):
             package_qa_handle_error("pkgname",
-                    "%s doesn't match the [a-z0-9.+-]+ regex\n" % package, d)
+                    "%s doesn't match the [a-z0-9.+-]+ regex" % package, d)
 
         path = "%s/%s" % (pkgdest, package)
         if not package_qa_walk(path, warnchecks, errorchecks, skip, package, d):
-- 
2.5.1



  reply	other threads:[~2015-09-18 13:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-18 11:54 State of bitbake world, Failed tasks 2015-09-13 Martin Jansa
2015-09-18 13:14 ` [PATCH 1/3] insane.bbclass: show PN and relative path in package_qa_check_host_user Martin Jansa
2015-09-18 13:14   ` Martin Jansa [this message]
2015-09-18 13:14   ` [PATCH 3/3] package.bbclass: add summary line to installed-vs-shipped QA check Martin Jansa
2015-09-18 19:29     ` Christopher Larson
2015-09-18 13:41   ` [PATCH 1/3] insane.bbclass: show PN and relative path in package_qa_check_host_user Mike Looijmans
2015-09-18 15:13     ` Martin Jansa
2015-09-18 15:15     ` [PATCHv2 " Martin Jansa
2015-09-18 18:22 ` State of bitbake world, Failed tasks 2015-09-13 akuster808
2015-09-23 11:39 ` Martin Jansa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1442582049-12108-2-git-send-email-Martin.Jansa@gmail.com \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox