sanity: Fix int verses string reference
The sanity update code needs to be passed an int, not string. (From OE-Core rev: 390bad905537820f49add855c95d726b5b55c8fa) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
2e27c4bf23
commit
4006a7f276
|
@ -147,8 +147,8 @@ is a good way to visualise the changes.""" % (current_lconf, lconf_version)
|
|||
with open(bblayers_fn, "w") as f:
|
||||
f.write(''.join(lines))
|
||||
return
|
||||
|
||||
sanity_conf_update(bblayers_fn, lines, 'LCONF_VERSION', "7")
|
||||
current_lconf += 1
|
||||
sanity_conf_update(bblayers_fn, lines, 'LCONF_VERSION', current_lconf)
|
||||
return
|
||||
|
||||
raise NotImplementedError(failmsg)
|
||||
|
|
Loading…
Reference in New Issue