PY3: fix "TabError: inconsistent use of tabs and spaces"

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

(cherry-picked from Samba commit e8fec94827c933041acd5b447eeeefd0b7b507ef)
This commit is contained in:
Noel Power
2018-07-27 14:26:35 +01:00
committed by Nico Williams
parent 5180a4ed75
commit 59aee7cad2

View File

@@ -50,7 +50,7 @@ def read(filename):
continue
f = l.split(';')
key = int(f[0], 0x10)
if key in ret:
if key in ret:
raise Exception('Duplicate key in UnicodeData')
ret[key] = f[1:]
ud.close()