script, test: fix python linter E275 errors with flake8 5.0.4

This commit is contained in:
Jon Atack authored and jonatack committed 2023-01-03 10:59:56 -08:00
1 parent cb552c5f21
commit 459cb637ac
28 files changed
+93 -93

No files matched your search

+1 -1
View File
@@ -49,7 +49,7 @@ class AddrReceiver(P2PInterface):
def on_addr(self, message):
for addr in message.addrs:
self.num_ipv4_received += 1
if(self.test_addr_contents):
if self.test_addr_contents:
# relay_tests checks the content of the addr messages match
# expectations based on the message creation in setup_addr_msg
assert_equal(addr.nServices, 9)