Shared method to reset connection state for both automatic and manual retries. This contains the common logic from the original retry function.
(self)
| 918 | self.ui.promptFor(getMessage("enter-to-exit-prompt")) |
| 919 | |
| 920 | def _performRetryStateReset(self): |
| 921 | """ |
| 922 | Shared method to reset connection state for both automatic and manual retries. |
| 923 | This contains the common logic from the original retry function. |
| 924 | """ |
| 925 | self._lastGlobalUpdate = None |
| 926 | self.ui.setSSLMode(False) |
| 927 | self.playlistMayNeedRestoring = True |
| 928 | self.ui.showMessage(getMessage("reconnection-attempt-notification")) |
| 929 | self.reconnecting = True |
| 930 | |
| 931 | def manualReconnect(self): |
| 932 | """ |
no test coverage detected