(self)
| 26 | NAME_PATTERN = ur'<title>(?P<N>.+?) Let\xf6lt\xe9se</title>' |
| 27 | |
| 28 | def _prepare(self): |
| 29 | SimpleCrypter._prepare(self) |
| 30 | |
| 31 | if u'K\xe9rlek add meg a jelsz\xf3t' in self.data: #: Password protected |
| 32 | password = self.get_password() |
| 33 | if not password: |
| 34 | self.fail(_("Password required")) |
| 35 | |
| 36 | self.log_debug( |
| 37 | "The folder is password protected', 'Using password: " + |
| 38 | password) |
| 39 | |
| 40 | self.data = self.load( |
| 41 | self.pyfile.url, post={ |
| 42 | 'mappa_pass': password}) |
| 43 | |
| 44 | if u'Hib\xe1s jelsz\xf3' in self.data: #: Wrong password |
| 45 | self.fail(_("Wrong password")) |
nothing calls this directly
no test coverage detected