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:
Richard Purdie 2016-02-28 22:53:03 +00:00
parent 2e27c4bf23
commit 4006a7f276
1 changed files with 2 additions and 2 deletions

View File

@ -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)