summaryrefslogtreecommitdiff
path: root/source3/build
diff options
context:
space:
mode:
authorJoe Guo <joeg@catalyst.net.nz>2018-07-30 18:18:03 +1200
committerDouglas Bagnall <dbagnall@samba.org>2018-08-24 07:49:28 +0200
commit32266d2d48c1c38e54bcfaf1cad36f09e9cff355 (patch)
tree2cd1a3ea1d5c789d770dc2ce18f488464907b5ca /source3/build
parentfb5ea356dd2dcf7651ff2b0fb861042ed828821c (diff)
downloadsamba-32266d2d48c1c38e54bcfaf1cad36f09e9cff355.tar.gz
PEP8: fix E225: missing whitespace around operator
Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'source3/build')
-rw-r--r--source3/build/charset.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/build/charset.py b/source3/build/charset.py
index 75981379577..1a23405448f 100644
--- a/source3/build/charset.py
+++ b/source3/build/charset.py
@@ -7,19 +7,19 @@ def CHECK_SAMBA3_CHARSET(conf, crossbuild=False):
'''Check for default charsets for Samba3
'''
if conf.CHECK_ICONV(define='HAVE_NATIVE_ICONV'):
- default_dos_charset=False
- default_unix_charset=False
+ default_dos_charset = False
+ default_unix_charset = False
# check for default dos charset name
for charset in ['CP850', 'IBM850']:
if conf.CHECK_CHARSET_EXISTS(charset, headers='iconv.h'):
- default_dos_charset=charset
+ default_dos_charset = charset
break
# check for default unix charset name
for charset in ['UTF-8', 'UTF8']:
if conf.CHECK_CHARSET_EXISTS(charset, headers='iconv.h'):
- default_unix_charset=charset
+ default_unix_charset = charset
break
# At this point, we have a libiconv candidate. We know that
@@ -29,8 +29,8 @@ def CHECK_SAMBA3_CHARSET(conf, crossbuild=False):
# deal, since we can't guarantee that the results we get now will
# match the results we get at runtime anyway.
if crossbuild:
- default_dos_charset="CP850"
- default_unix_charset="UTF-8"
+ default_dos_charset = "CP850"
+ default_unix_charset = "UTF-8"
# TODO: this used to warn about the set charset on cross builds
if default_dos_charset is False or default_unix_charset is False: