mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
PY3: dict doesn't have has_key
Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
b2b0f8191d
commit
82c8451333
@ -136,7 +136,7 @@ exclusions = UnicodeData.read(sys.argv[2])
|
||||
inv = dict([(''.join(["%05x" % int(x, 0x10) for x in v[4].split(' ')]),
|
||||
[k, v[0]])
|
||||
for k,v in ud.items()
|
||||
if v[4] and not re.search('<[a-zA-Z]+> *', v[4]) and not exclusions.has_key(k)])
|
||||
if v[4] and not re.search('<[a-zA-Z]+> *', v[4]) and not k in exclusions])
|
||||
|
||||
table = 0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user