diff options
author | Noel Power <noel.power@suse.com> | 2018-07-27 14:26:35 +0100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2018-09-27 01:54:27 +0200 |
commit | e8fec94827c933041acd5b447eeeefd0b7b507ef (patch) | |
tree | 9cc2387a033f07eb455d2b80fdab7a817a9d1a8e /source4 | |
parent | cddd54e8654c94dedd57c08af1987ce03212ce20 (diff) | |
download | samba-e8fec94827c933041acd5b447eeeefd0b7b507ef.tar.gz |
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>
Diffstat (limited to 'source4')
-rw-r--r-- | source4/auth/wscript_build | 4 | ||||
-rw-r--r-- | source4/heimdal/lib/wind/UnicodeData.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/auth/wscript_build b/source4/auth/wscript_build index d3452d2ca92..7d67c3dce5e 100644 --- a/source4/auth/wscript_build +++ b/source4/auth/wscript_build @@ -54,8 +54,8 @@ for env in bld.gen_python_environments(): pyparam_util = bld.pyembed_libname('pyparam_util') pyldb_util = bld.pyembed_libname('pyldb-util') pycredentials = 'pycredentials' - if bld.env['IS_EXTRA_PYTHON']: - pycredentials = 'extra-' + pycredentials + if bld.env['IS_EXTRA_PYTHON']: + pycredentials = 'extra-' + pycredentials bld.SAMBA_PYTHON('pyauth', source='pyauth.c', public_deps='auth_system_session', diff --git a/source4/heimdal/lib/wind/UnicodeData.py b/source4/heimdal/lib/wind/UnicodeData.py index dd6dfa745d9..8ce3bcade27 100644 --- a/source4/heimdal/lib/wind/UnicodeData.py +++ b/source4/heimdal/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() |