summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Beale <timbeale@catalyst.net.nz>2018-07-27 13:49:16 +1200
committerAndrew Bartlett <abartlet@samba.org>2018-08-17 02:58:28 +0200
commit2bd0a208dffabe6193c03b912feb7cb86769be04 (patch)
tree9ac730b629d98cab08393610b3bfb4c4ef371309
parent26ece82e5ec40b8f150c888c6e8fba1c85639e4c (diff)
downloadsamba-2bd0a208dffabe6193c03b912feb7cb86769be04.tar.gz
Fix PEP8 warning W503 line break before binary operator
Signed-off-by: Tim Beale <timbeale@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
-rw-r--r--source4/dsdb/tests/python/password_settings.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/tests/python/password_settings.py b/source4/dsdb/tests/python/password_settings.py
index 9b1f833acfb..f0dde562ea2 100644
--- a/source4/dsdb/tests/python/password_settings.py
+++ b/source4/dsdb/tests/python/password_settings.py
@@ -615,8 +615,8 @@ class PasswordSettingsTestCase(PasswordTestCase):
creds_tmp.set_domain(creds.get_domain())
creds_tmp.set_realm(creds.get_realm())
creds_tmp.set_workstation(creds.get_workstation())
- creds_tmp.set_gensec_features(creds_tmp.get_gensec_features()
- | gensec.FEATURE_SEAL)
+ features = creds_tmp.get_gensec_features() | gensec.FEATURE_SEAL
+ creds_tmp.set_gensec_features(features)
return samba.tests.connect_samdb(ldaphost, credentials=creds_tmp)
def test_pso_permissions(self):