PEP8: fix W391: blank line at end of file
authorJoe Guo <joeg@catalyst.net.nz>
Mon, 30 Jul 2018 06:22:54 +0000 (18:22 +1200)
committerDouglas Bagnall <dbagnall@samba.org>
Fri, 24 Aug 2018 05:49:31 +0000 (07:49 +0200)
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>
20 files changed:
python/samba/gp_ext_loader.py
python/samba/ms_display_specifiers.py
python/samba/netcmd/ntacl.py
python/samba/netcmd/spn.py
python/samba/tests/dcerpc/__init__.py
python/samba/tests/dcerpc/sam.py
python/samba/tests/gpo.py
python/samba/tests/lsa_string.py
python/samba/tests/ntlmdisabled.py
python/samba/tests/password_test.py
python/samba/tests/samba_tool/schema.py
python/samba/tests/upgradeprovision.py
source3/build/charset.py
source3/torture/test_ntlm_auth.py
source4/dsdb/tests/python/dsdb_schema_info.py
source4/lib/wmi/wmi.py
source4/torture/drs/python/delete_object.py
source4/torture/drs/python/getnc_unpriv.py
source4/torture/drs/python/replica_sync.py
source4/torture/libnet/python/samr-test.py

index ce5d4191550582f51784dba74e2475d498508897..89ce4fa62d7e195813168b71af40891e093bfc0b 100644 (file)
@@ -57,4 +57,3 @@ def get_gp_client_side_extensions(logger, smb_conf):
             logger.info('Loaded user extension from %s: %s'
                         % (gp_ext['DllName'], ext.__name__))
     return (machine_exts, user_exts)
-
index fd125806ca1479b9c992fb4f47b4ffe2d35eceea..2a81c2299c8c8d2710f45ff1a6b4c66b5188bfca 100644 (file)
@@ -193,4 +193,3 @@ if __name__ == '__main__':
         sys.exit(1)
 
     print(read_ms_ldif(display_specifiers_file))
-
index 51fdedc74a9103e87c1cdbc12d75c32d07aef08b..f64b04758c5710f03875e588ebd6e850f8934f01 100644 (file)
@@ -279,4 +279,3 @@ class cmd_ntacl(SuperCommand):
     subcommands["sysvolreset"] = cmd_ntacl_sysvolreset()
     subcommands["sysvolcheck"] = cmd_ntacl_sysvolcheck()
     subcommands["getdosinfo"] = cmd_dosinfo_get()
-
index dff4bae58d4db5b33a71419aa52a69d9e854f65c..62884a4ec09776733443ca8edc0e0dcfe9febe67 100644 (file)
@@ -201,4 +201,3 @@ class cmd_spn(SuperCommand):
     subcommands["add"] = cmd_spn_add()
     subcommands["list"] = cmd_spn_list()
     subcommands["delete"] = cmd_spn_delete()
-
index d84cb57a096ac42c59e41ebf1bb415c0c835f11f..b8df5a2c31f9a8fe3beb2065651d053027cf7f25 100644 (file)
@@ -17,4 +17,3 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 """Tests for the DCE/RPC Python bindings."""
-
index d42c4f797fad69ee5bb50749e9a6fa2b57a6264e..9c432e3a37ef309d5819edf8042803efddb90166 100644 (file)
@@ -45,4 +45,3 @@ class SamrTests(RpcInterfaceTestCase):
         handle = self.conn.Connect2(None, security.SEC_FLAG_MAXIMUM_ALLOWED)
         domains = toArray(*self.conn.EnumDomains(handle, 0, 4294967295))
         self.conn.Close(handle)
-
index ce766cd87461a294120147b3eb9006d69765f390..881728575c7f056d26ef93e3ae2995a6d1cdbc4a 100644 (file)
@@ -148,4 +148,3 @@ class GPOTests(tests.TestCase):
                           'Failed to find test variable in gpext.conf')
         parser.remove_section('test_section')
         atomic_write_conf(lp, parser)
-
index b29e03bb34915102a688e225dd934c2020db42ee..b8519b6b37f89a9fe6e14cfa8ec694366483333c 100644 (file)
@@ -75,6 +75,3 @@ class LsaStringTests(TestCase):
         # and one with contents
         self.assertEqual("Hello world",
                          str(lsa.String("Hello world")))
-
-
-
index 6d2afe9054d828d4a59ceba02e7e456b7573f7a9..ab46bb6cae863193a6a0d013099918efa0c75520 100644 (file)
@@ -86,4 +86,3 @@ class NtlmDisabledTests(TestCase):
                 pass
             else:
                 raise
-
index 730bd4d478905c01fc41ba0a72b18f51559b7e92..37eeeda7cee957b5173e4b4b31854a4f7779e60e 100644 (file)
@@ -58,4 +58,3 @@ class PasswordTestCase(samba.tests.TestCase):
             samdb = self.ldb
 
         PasswordCommon.allow_password_changes(self, samdb)
-
index 54a103b81874c0e94a9123162cf955b8024e6cd1..6d502ef4e173fbc74caf00fe4660cde950444bac 100644 (file)
@@ -110,5 +110,3 @@ class SchemaCmdTestCase(SambaToolCmdTest):
         self.assertCmdSuccess(result, out, err)
         self.assertEquals(err, "", "Shouldn't be any error messages")
         self.assertIn("dn: CN=Person,CN=Schema,CN=Configuration,DC=samba,DC=example,DC=com", out)
-
-
index 12dd3ecb0ec73cfbf6d8b7aa7934af4801295c1b..ab091676fca163c0f3d4622d63d4a6a40382811e 100644 (file)
@@ -153,5 +153,3 @@ class UpdateSecretsTests(samba.tests.TestCaseInTempDir):
             if os.path.exists(path):
                 os.unlink(path)
         super(UpdateSecretsTests, self).tearDown()
-
-
index bdb818f83ea8ea8bbccbbd129219cdd22a8bb5b4..afd9a9e7943dc96ee9bd62cf69b9ef44447d9ade 100644 (file)
@@ -46,4 +46,3 @@ def CHECK_SAMBA3_CHARSET(conf, crossbuild=False):
     else:
         conf.DEFINE('DEFAULT_DOS_CHARSET', "ASCII", quote=True)
         conf.DEFINE('DEFAULT_UNIX_CHARSET', "UTF8", quote=True)
-
index 6f9636e6772bd8d6bf7f3118c54c3360fc84e844..9f1265d1ebff60e5cfd3cf8e2fa8495027729bc5 100755 (executable)
@@ -334,5 +334,3 @@ def main():
 
 if __name__ == "__main__":
     main()
-
-
index 651be8f3414e68ef7cbeff087320de09c452a835..939bf95d599da3c01189ebf7aa17ea83eebfed6f 100755 (executable)
@@ -193,4 +193,3 @@ systemOnly: FALSE
         # compare resulting schemaInfo
         schi_after = self._getSchemaInfo()
         self._checkSchemaInfo(schi_before, schi_after)
-
index 4651c57c1b3a827adf1e4e8f8064050033c7e50b..5f68ba987664095e5842da23e4c1d07c2594c826 100644 (file)
@@ -118,5 +118,3 @@ IEnumWbemClassObject_swigregister = _wmi.IEnumWbemClassObject_swigregister
 IEnumWbemClassObject_swigregister(IEnumWbemClassObject)
 
 IEnumWbemClassObject_SmartNext = _wmi.IEnumWbemClassObject_SmartNext
-
-
index 81508b494ae82635b0c4176652177aeaad47b4fd..5ccd8fd29b6744604b4c6fb92841ba9435c0ee1e 100644 (file)
@@ -377,4 +377,3 @@ class DrsDeleteObjectTestCase(drs_base.DrsBaseTestCase):
 
         # trigger replication from DC1 to DC2, for cleanup
         self._net_drs_replicate(DC=self.dnsname_dc2, fromDC=self.dnsname_dc1, forced=True)
-
index 0cf112dbbd33406c19a7fa8d28ef4e56ac778afc..b4788c5d4a01dd8be6419d6c147c565f1c434977 100644 (file)
@@ -304,5 +304,3 @@ class DrsReplicaSyncUnprivTestCase(drs_base.DrsBaseTestCase):
                                    partial_attribute_set=self.get_partial_attribute_set())
         self._test_repl_full(expected_error=[werror.WERR_DS_DRA_ACCESS_DENIED],
                              partial_attribute_set=self.get_partial_attribute_set())
-
-
index fc32476636a51c8d6987787266b634f703a63989..2c881d3e853b273c18025da4821ca045479804fb 100644 (file)
@@ -746,4 +746,3 @@ objectClass: organizationalUnit
         # Check deleted on DC2
         self._check_deleted(self.ldb_dc2, self.ou1)
         self._check_deleted(self.ldb_dc2, self.ou2)
-
index 82cf61d33b165c6c0e538b8fcd135b69a25ca389..8e8695e416b6f5bb283aa31de0bfb760637bf000 100644 (file)
@@ -57,4 +57,3 @@ class Libnet_SetPwdTest(samba.tests.TestCase):
                         credentials=creds)
 
     ########################################################################################
-