1
0
mirror of https://git.yoctoproject.org/poky synced 2026-07-26 07:07:08 +00:00

image/kernel-module-split/eglibc-ld.inc: Remove has_key() usage

The has_key() attribute has been removed in python 3 since there is better
syntax available. Use the improved syntax.

(From OE-Core rev: 3dff13793e875ff58cc38c4a960caca9b6969843)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2013-05-07 13:56:04 +01:00
parent e16faa55da
commit 534325fd1f
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -368,7 +368,7 @@ for dir in dirs.split():
key=str(os.path.join("/",os.path.relpath(item,dir)))
valid=True;
if files.has_key(key):
if key in files:
#check whether the file is allow to replace
if allow_rep.match(key):
valid=True