Skip to content

Commit 69c4cf6

Browse files
authored
Disable protected-access on the ServiceBrowser usage of _handlers_lock (#452)
- This will be fixed in #419
1 parent 5fce89d commit 69c4cf6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

zeroconf/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1786,7 +1786,7 @@ def run(self) -> None:
17861786
if not self._handlers_to_call:
17871787
continue
17881788

1789-
with self.zc._handlers_lock:
1789+
with self.zc._handlers_lock: # pylint: disable=protected-access
17901790
(name_type, state_change) = self._handlers_to_call.popitem(False)
17911791

17921792
self._service_state_changed.fire(

0 commit comments

Comments
 (0)