PEP8: fix E713: test for membership should be 'not in'
[gd/samba-autobuild/.git] / source4 / torture / libnet / python / samr-test.py
index 22b754fb6fb6695500684e15478201c32aa9b32e..82cf61d33b165c6c0e538b8fcd135b69a25ca389 100644 (file)
@@ -31,10 +31,10 @@ import os
 from samba import net
 import samba.tests
 
-if not "ACCOUNT_NAME" in os.environ.keys():
+if "ACCOUNT_NAME" not in os.environ.keys():
     raise Exception("Please supply ACCOUNT_NAME in environment")
 
-if not "NEW_PASS" in os.environ.keys():
+if "NEW_PASS" not in os.environ.keys():
     raise Exception("Please supply NEW_PASS in environment")
 
 account_name = os.environ["ACCOUNT_NAME"]