(self, watcher)
| 477 | room.addWatcher(watcher) |
| 478 | |
| 479 | def removeWatcher(self, watcher): |
| 480 | oldRoom = watcher.getRoom() |
| 481 | if oldRoom: |
| 482 | oldRoom.removeWatcher(watcher) |
| 483 | self._deleteRoomIfEmpty(oldRoom) |
| 484 | |
| 485 | def _getRoom(self, roomName): |
| 486 | if roomName in self._rooms: |
no test coverage detected