Openembedded Core Discussions
 help / color / mirror / Atom feed
From: liu.ming50@gmail.com
To: openembedded-core@lists.openembedded.org
Cc: Ming Liu <peter.x.liu@external.atlascopco.com>
Subject: [PATCH] meta: remove remaining True option to getVarFlag calls
Date: Thu, 26 Jan 2017 14:29:32 +0100	[thread overview]
Message-ID: <1485437372-10456-2-git-send-email-liu.ming50@gmail.com> (raw)
In-Reply-To: <1485437372-10456-1-git-send-email-liu.ming50@gmail.com>

From: Ming Liu <peter.x.liu@external.atlascopco.com>

This is a complementary fix to commit 2dea9e49:
[ meta: remove True option to getVarFlag calls ]

it intended to remove all True option to getVarFlag calls, but there are
still some remaining.

Search made with the following regex: getVarFlag ?\((.*), True\)

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
---
 meta/lib/oe/data.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/lib/oe/data.py b/meta/lib/oe/data.py
index 3956733..80bba2b 100644
--- a/meta/lib/oe/data.py
+++ b/meta/lib/oe/data.py
@@ -30,7 +30,7 @@ def export2json(d, json_file, expand=True):
             continue
         elif key.startswith("do_"):
             continue
-        elif d.getVarFlag(key, "func", True):
+        elif d.getVarFlag(key, "func"):
             continue
 
         keys2export.append(key)
-- 
1.9.1



  reply	other threads:[~2017-01-26 13:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-26 13:29 [PATCH] meta: remove remaining True option to getVarFlag calls liu.ming50
2017-01-26 13:29 ` liu.ming50 [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-01-26 12:06 liu.ming50

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=1485437372-10456-2-git-send-email-liu.ming50@gmail.com \
    --to=liu.ming50@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=peter.x.liu@external.atlascopco.com \
    /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