changeset 2214:5dab351a8752

The mychanges list should be unique.
author Ashutosh Singla <ashu1461@gmail.com>
date Sat, 04 May 2013 23:48:24 +0530
parents 60e75cabd0d6
children 2fb062777b54
files MoinMoin/apps/frontend/views.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/apps/frontend/views.py	Sat May 04 16:32:45 2013 +0200
+++ b/MoinMoin/apps/frontend/views.py	Sat May 04 23:48:24 2013 +0530
@@ -822,7 +822,7 @@
     q = And([Term(WIKINAME, app.cfg.interwikiname),
              Term(USERID, userid)])
     revs = flaskg.storage.search(q, idx_name=ALL_REVS)
-    return [rev.name for rev in revs]
+    return set([rev.name for rev in revs])
 
 
 @frontend.route('/+backrefs/<itemname:item_name>')