py2.6 fix
parent
472635beab
commit
f026b91719
|
@ -105,7 +105,7 @@ class PageParser:
|
||||||
results.append(origResult)
|
results.append(origResult)
|
||||||
else:
|
else:
|
||||||
results.append(result)
|
results.append(result)
|
||||||
results.extend(resultsMap.viewvalues())
|
results.extend(resultsMap.values())
|
||||||
|
|
||||||
if mediaAltName:
|
if mediaAltName:
|
||||||
moreResults = self.queryKinoPoisk(mediaAltName, mediaYear)
|
moreResults = self.queryKinoPoisk(mediaAltName, mediaYear)
|
||||||
|
@ -124,7 +124,7 @@ class PageParser:
|
||||||
results.append(origResult)
|
results.append(origResult)
|
||||||
else:
|
else:
|
||||||
results.append(result)
|
results.append(result)
|
||||||
results.extend(resultsMap.viewvalues())
|
results.extend(resultsMap.values())
|
||||||
|
|
||||||
# Sort all results based on their score.
|
# Sort all results based on their score.
|
||||||
results.sort(key=operator.itemgetter(3))
|
results.sort(key=operator.itemgetter(3))
|
||||||
|
|
Loading…
Reference in New Issue