aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-03-28 14:18:52 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-03-28 14:18:52 +0100
commit1781835efa43eaf9bfc2cc135a8f693ee57135e7 (patch)
treee00b884cb595b7d80daf89e5c35c65fa5f85803f /pyaggr3g470r
parentPairs of duplicates are sorted by retrieved date. (diff)
downloadnewspipe-1781835efa43eaf9bfc2cc135a8f693ee57135e7.tar.gz
newspipe-1781835efa43eaf9bfc2cc135a8f693ee57135e7.tar.bz2
newspipe-1781835efa43eaf9bfc2cc135a8f693ee57135e7.zip
Typo...
Diffstat (limited to 'pyaggr3g470r')
-rwxr-xr-xpyaggr3g470r/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/utils.py b/pyaggr3g470r/utils.py
index d1e4759b..513913a1 100755
--- a/pyaggr3g470r/utils.py
+++ b/pyaggr3g470r/utils.py
@@ -315,7 +315,7 @@ def compare_documents(feed):
if pair[0].retrieved_date < pair[1].retrieved_date:
duplicates.append((pair[0], pair[1]))
else:
- duplicates.append(((pair[1], pair[0]))
+ duplicates.append((pair[1], pair[0]))
return duplicates
def search_feed(url):
bgstack15