From 31198d39a76474d55c3d391e04d76758ee115d8e Mon Sep 17 00:00:00 2001 From: Joe Guo Date: Mon, 30 Jul 2018 18:21:29 +1200 Subject: [PATCH 10/17] CVE-2018-16857 PEP8: fix E305: expected 2 blank lines after class or function definition, found 1 Signed-off-by: Joe Guo Reviewed-by: Andrew Bartlett Reviewed-by: Douglas Bagnall Partial backport of commit 115f2a71b88 (only password_lockout.py change) as a dependency for: BUG: https://bugzilla.samba.org/show_bug.cgi?id=13683 --- source4/dsdb/tests/python/password_lockout.py | 1 + 1 file changed, 1 insertion(+) diff --git a/source4/dsdb/tests/python/password_lockout.py b/source4/dsdb/tests/python/password_lockout.py index e817e656a2a..d8710866f39 100755 --- a/source4/dsdb/tests/python/password_lockout.py +++ b/source4/dsdb/tests/python/password_lockout.py @@ -1400,6 +1400,7 @@ userPassword: """ + userpass + """ self._test_samr_password_change(self.lockout1ntlm_creds, other_creds=self.lockout2ntlm_creds) + host_url = "ldap://%s" % host TestProgram(module=__name__, opts=subunitopts) -- 2.17.1