From: Joe Guo Date: Mon, 30 Jul 2018 02:56:46 +0000 (+1200) Subject: PEP8: fix E713: test for membership should be 'not in' X-Git-Tag: tdb-1.3.17~2090 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e551f5f50295e16aa56e80a5991a55d2d7b8a36d;p=thirdparty%2Fsamba.git PEP8: fix E713: test for membership should be 'not in' Signed-off-by: Joe Guo Reviewed-by: Andrew Bartlett Reviewed-by: Douglas Bagnall --- diff --git a/python/samba/__init__.py b/python/samba/__init__.py index 1a3b24bca58..4bf9d71f107 100644 --- a/python/samba/__init__.py +++ b/python/samba/__init__.py @@ -264,7 +264,7 @@ def check_all_substituted(text): :param text: The text to search for substitution variables """ - if not "${" in text: + if "${" not in text: return var_start = text.find("${")