summaryrefslogtreecommitdiff
path: root/python/samba
diff options
context:
space:
mode:
authorJoe Guo <joeg@catalyst.net.nz>2018-07-30 18:22:54 +1200
committerDouglas Bagnall <dbagnall@samba.org>2018-08-24 07:49:31 +0200
commitc9f2fdea1dc91bf692fba2b74882371b0b35e1dc (patch)
tree365b774310aa62458fbf7bd7633772c4f67464d5 /python/samba
parent6f9eb617e375c2272547517af22775dd7afee428 (diff)
downloadsamba-c9f2fdea1dc91bf692fba2b74882371b0b35e1dc.tar.gz
PEP8: fix W391: blank line at end of file
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>
Diffstat (limited to 'python/samba')
-rw-r--r--python/samba/gp_ext_loader.py1
-rw-r--r--python/samba/ms_display_specifiers.py1
-rw-r--r--python/samba/netcmd/ntacl.py1
-rw-r--r--python/samba/netcmd/spn.py1
-rw-r--r--python/samba/tests/dcerpc/__init__.py1
-rw-r--r--python/samba/tests/dcerpc/sam.py1
-rw-r--r--python/samba/tests/gpo.py1
-rw-r--r--python/samba/tests/lsa_string.py3
-rw-r--r--python/samba/tests/ntlmdisabled.py1
-rw-r--r--python/samba/tests/password_test.py1
-rw-r--r--python/samba/tests/samba_tool/schema.py2
-rw-r--r--python/samba/tests/upgradeprovision.py2
12 files changed, 0 insertions, 16 deletions
diff --git a/python/samba/gp_ext_loader.py b/python/samba/gp_ext_loader.py
index ce5d4191550..89ce4fa62d7 100644
--- a/python/samba/gp_ext_loader.py
+++ b/python/samba/gp_ext_loader.py
@@ -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)
-
diff --git a/python/samba/ms_display_specifiers.py b/python/samba/ms_display_specifiers.py
index fd125806ca1..2a81c2299c8 100644
--- a/python/samba/ms_display_specifiers.py
+++ b/python/samba/ms_display_specifiers.py
@@ -193,4 +193,3 @@ if __name__ == '__main__':
sys.exit(1)
print(read_ms_ldif(display_specifiers_file))
-
diff --git a/python/samba/netcmd/ntacl.py b/python/samba/netcmd/ntacl.py
index 51fdedc74a9..f64b04758c5 100644
--- a/python/samba/netcmd/ntacl.py
+++ b/python/samba/netcmd/ntacl.py
@@ -279,4 +279,3 @@ class cmd_ntacl(SuperCommand):
subcommands["sysvolreset"] = cmd_ntacl_sysvolreset()
subcommands["sysvolcheck"] = cmd_ntacl_sysvolcheck()
subcommands["getdosinfo"] = cmd_dosinfo_get()
-
diff --git a/python/samba/netcmd/spn.py b/python/samba/netcmd/spn.py
index dff4bae58d4..62884a4ec09 100644
--- a/python/samba/netcmd/spn.py
+++ b/python/samba/netcmd/spn.py
@@ -201,4 +201,3 @@ class cmd_spn(SuperCommand):
subcommands["add"] = cmd_spn_add()
subcommands["list"] = cmd_spn_list()
subcommands["delete"] = cmd_spn_delete()
-
diff --git a/python/samba/tests/dcerpc/__init__.py b/python/samba/tests/dcerpc/__init__.py
index d84cb57a096..b8df5a2c31f 100644
--- a/python/samba/tests/dcerpc/__init__.py
+++ b/python/samba/tests/dcerpc/__init__.py
@@ -17,4 +17,3 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
"""Tests for the DCE/RPC Python bindings."""
-
diff --git a/python/samba/tests/dcerpc/sam.py b/python/samba/tests/dcerpc/sam.py
index d42c4f797fa..9c432e3a37e 100644
--- a/python/samba/tests/dcerpc/sam.py
+++ b/python/samba/tests/dcerpc/sam.py
@@ -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)
-
diff --git a/python/samba/tests/gpo.py b/python/samba/tests/gpo.py
index ce766cd8746..881728575c7 100644
--- a/python/samba/tests/gpo.py
+++ b/python/samba/tests/gpo.py
@@ -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)
-
diff --git a/python/samba/tests/lsa_string.py b/python/samba/tests/lsa_string.py
index b29e03bb349..b8519b6b37f 100644
--- a/python/samba/tests/lsa_string.py
+++ b/python/samba/tests/lsa_string.py
@@ -75,6 +75,3 @@ class LsaStringTests(TestCase):
# and one with contents
self.assertEqual("Hello world",
str(lsa.String("Hello world")))
-
-
-
diff --git a/python/samba/tests/ntlmdisabled.py b/python/samba/tests/ntlmdisabled.py
index 6d2afe9054d..ab46bb6cae8 100644
--- a/python/samba/tests/ntlmdisabled.py
+++ b/python/samba/tests/ntlmdisabled.py
@@ -86,4 +86,3 @@ class NtlmDisabledTests(TestCase):
pass
else:
raise
-
diff --git a/python/samba/tests/password_test.py b/python/samba/tests/password_test.py
index 730bd4d4789..37eeeda7cee 100644
--- a/python/samba/tests/password_test.py
+++ b/python/samba/tests/password_test.py
@@ -58,4 +58,3 @@ class PasswordTestCase(samba.tests.TestCase):
samdb = self.ldb
PasswordCommon.allow_password_changes(self, samdb)
-
diff --git a/python/samba/tests/samba_tool/schema.py b/python/samba/tests/samba_tool/schema.py
index 54a103b8187..6d502ef4e17 100644
--- a/python/samba/tests/samba_tool/schema.py
+++ b/python/samba/tests/samba_tool/schema.py
@@ -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)
-
-
diff --git a/python/samba/tests/upgradeprovision.py b/python/samba/tests/upgradeprovision.py
index 12dd3ecb0ec..ab091676fca 100644
--- a/python/samba/tests/upgradeprovision.py
+++ b/python/samba/tests/upgradeprovision.py
@@ -153,5 +153,3 @@ class UpdateSecretsTests(samba.tests.TestCaseInTempDir):
if os.path.exists(path):
os.unlink(path)
super(UpdateSecretsTests, self).tearDown()
-
-