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:
committed by
Andrew Bartlett
parent
7efe6b0ab4
commit
af61444d7a
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user