Some English fixes

"informations" is incorrect; try to use a better word, or the invariant "information".
This commit is contained in:
Laurent Bachelier 2014-07-08 12:09:23 +02:00 committed by Florent
commit 0f90d6e9dd
6 changed files with 6 additions and 6 deletions

View file

@ -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')

View file

@ -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)

View file

@ -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):

View file

@ -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

View file

@ -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'):