Some English fixes
"informations" is incorrect; try to use a better word, or the invariant "information".
This commit is contained in:
parent
dd4a66be77
commit
0f90d6e9dd
6 changed files with 6 additions and 6 deletions
|
|
@ -497,4 +497,4 @@ are empty (set to ``NotLoaded``):
|
|||
* **date** - date of thread
|
||||
|
||||
As our method :func:`get_thread <weboob.capabilities.messages.CapMessages.get_thread>` will get all
|
||||
of the missing informations, we just call it with the object as parameter to complete it.
|
||||
of the missing data, we just call it with the object as parameter to complete it.
|
||||
|
|
|
|||
|
|
@ -102,4 +102,4 @@ class LoginPage(BasePage):
|
|||
|
||||
class UpdateInfoPage(BasePage):
|
||||
def on_loaded(self):
|
||||
raise BrowserIncorrectPassword('Please update your user informations')
|
||||
raise BrowserIncorrectPassword('Please update your login credentials')
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ class DetailsPage(LoggedPage, BadUTF8Page):
|
|||
|
||||
def _parse_div(self, divglobal, string, num, inter=False):
|
||||
divs = divglobal.xpath('div[@class="detail"]')
|
||||
# Two informations in one div...
|
||||
# Two pieces of information in one div...
|
||||
div = divs.pop(0)
|
||||
voice = self._parse_voice(div, string, num, inter)
|
||||
self.details[num].append(voice)
|
||||
|
|
|
|||
|
|
@ -128,7 +128,7 @@ class MovieCrewPage(BasePage):
|
|||
|
||||
|
||||
class PersonPage(BasePage):
|
||||
''' Page giving informations about a person
|
||||
''' Page informing about a person
|
||||
It is used to build a Person instance and to get the movie list related to a person
|
||||
'''
|
||||
def get_person(self, id):
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@ class IngBrowser(LoginBrowser):
|
|||
self.logger.info('There is no history for this account')
|
||||
return
|
||||
|
||||
index = 0 # index, we get always the same page, but with more informations
|
||||
index = 0 # index, we get always the same page, but with more data
|
||||
hashlist = []
|
||||
while True:
|
||||
i = index
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ class SubtitlesPage(BasePage):
|
|||
tabresults = self.parser.select(self.document.getroot(), 'table#search_results')
|
||||
if len(tabresults) > 0:
|
||||
table = tabresults[0]
|
||||
# for each result line, get informations
|
||||
# for each result line, get the data
|
||||
# why following line doesn't work all the time (for example 'search fr sopranos guy walks' ?
|
||||
# for line in self.parser.select(table,'tr'):
|
||||
for line in table.getiterator('tr'):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue