mirror of
https://github.com/samba-team/samba.git
synced 2025-03-07 00:58:40 +03:00
tests/audit_log: Remove unneeded len() call
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
40425672fe
commit
a7ad25a781
@ -176,7 +176,7 @@ class AuditLogTestBase(samba.tests.TestCase):
|
||||
# Discard any previously queued messages.
|
||||
def discardMessages(self):
|
||||
self.msg_ctx.loop_once(0.001)
|
||||
while (len(self.context["messages"]) or
|
||||
while (self.context["messages"] or
|
||||
self.context["txnMessage"] is not None):
|
||||
|
||||
self.context["messages"] = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user