mirror of
https://git.yoctoproject.org/poky
synced 2026-06-13 17:10:01 +00:00
classes: Remove and sanitise import statements
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
def gettext_after_parse(d):
|
||||
import bb
|
||||
# Remove the NLS bits if USE_NLS is no.
|
||||
if bb.data.getVar('USE_NLS', d, 1) == 'no':
|
||||
cfg = oe_filter_out('^--(dis|en)able-nls$', bb.data.getVar('EXTRA_OECONF', d, 1) or "", d)
|
||||
|
||||
Reference in New Issue
Block a user