Revision: 8197 Author: xqt Date: 2010-05-19 18:51:33 +0000 (Wed, 19 May 2010)
Log Message: ----------- revert r8194 due to TypeError: dict objects are unhashable
Modified Paths: -------------- trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py =================================================================== --- trunk/pywikipedia/wikipedia.py 2010-05-19 12:34:32 UTC (rev 8196) +++ trunk/pywikipedia/wikipedia.py 2010-05-19 18:51:33 UTC (rev 8197) @@ -1251,7 +1251,7 @@ datas = query.GetData(params, self.site()) data = datas['query'].values() if len(data) == 2: - data = list(set(data[0] + data[1])) + data = data[0] + data[1] else: data = data[0]
pywikipedia-svn@lists.wikimedia.org