1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-18 08:23:51 +03:00

python:tests: Remove semicolons

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Joseph Sutton
2023-08-17 11:09:31 +12:00
committed by Andrew Bartlett
parent 7efe6b0ab4
commit af61444d7a
7 changed files with 28 additions and 28 deletions

View File

@@ -147,7 +147,7 @@ class SMBTests(samba.tests.TestCase):
"""Returns whether a regular file exists (by trying to open it)"""
try:
self.smb_conn.loadfile(filepath)
exists = True;
exists = True
except NTSTATUSError as err:
if (err.args[0] == NT_STATUS_OBJECT_NAME_NOT_FOUND or
err.args[0] == NT_STATUS_OBJECT_PATH_NOT_FOUND):