|
180 | 180 | from . import multicast as multicast # pylint: disable=cyclic-import - skipcq: PYL-C0414 |
181 | 181 | else: # pragma: no branch |
182 | 182 | multicast = sys.modules["""multicast"""] |
183 | | - _BLANK = multicast._BLANK |
| 183 | + _BLANK = multicast._BLANK # skipcq: PYL-W0212 - module ok |
184 | 184 | except Exception as importErr: |
185 | 185 | del importErr # skipcq - cleanup any error leaks early |
186 | 186 | import multicast as multicast # pylint: disable=cyclic-import - skipcq: PYL-R0401, PYL-C0414 |
@@ -322,11 +322,11 @@ def recvstep(msgbuffer, chunk, sock): |
322 | 322 | msgbuffer = tryrecv(msgbuffer, chunk, sock) |
323 | 323 | except KeyboardInterrupt: # pragma: no branch |
324 | 324 | if (sys.stdout.isatty()): # pragma: no cover |
325 | | - print(multicast._BLANK) |
| 325 | + print(multicast._BLANK) # skipcq: PYL-W0212 - module ok |
326 | 326 | print(str("""User Interrupted""")) |
327 | 327 | except OSError: # pragma: no branch |
328 | 328 | if (sys.stdout.isatty()): # pragma: no cover |
329 | | - print(multicast._BLANK) |
| 329 | + print(multicast._BLANK) # skipcq: PYL-W0212 - module ok |
330 | 330 | finally: |
331 | 331 | sock = multicast.endSocket(sock) |
332 | 332 | if not (chunk is None): # pragma: no branch |
@@ -515,7 +515,7 @@ def _hearstep(groups, port, iface=None, bind_group=None): |
515 | 515 |
|
516 | 516 | """ |
517 | 517 | sock = joinstep(groups, port, iface, bind_group, None) |
518 | | - msgbuffer = str(multicast._BLANK) |
| 518 | + msgbuffer = str(multicast._BLANK) # skipcq: PYL-W0212 - module ok |
519 | 519 | chunk = None |
520 | 520 | msgbuffer = recvstep(msgbuffer, chunk, sock) |
521 | 521 | # about 969 bytes in base64 encoded as chars |
|
0 commit comments