Преглед изворни кода

meta: remove remaining True option to getVarFlag calls

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>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Ming Liu пре 7 година
родитељ
комит
5b53b34dcb
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      meta/lib/oe/data.py

+ 1 - 1
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)