From 59aee7cad2b3fdb7fe8ddcc621e12703cdc35022 Mon Sep 17 00:00:00 2001 From: Noel Power Date: Fri, 27 Jul 2018 14:26:35 +0100 Subject: [PATCH] PY3: fix "TabError: inconsistent use of tabs and spaces" Signed-off-by: Noel Power Reviewed-by: Andrew Bartlett (cherry-picked from Samba commit e8fec94827c933041acd5b447eeeefd0b7b507ef) --- lib/wind/UnicodeData.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wind/UnicodeData.py b/lib/wind/UnicodeData.py index dd6dfa745..8ce3bcade 100644 --- a/lib/wind/UnicodeData.py +++ b/lib/wind/UnicodeData.py @@ -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()