Revision: 8418 Author: xqt Date: 2010-08-20 11:08:44 +0000 (Fri, 20 Aug 2010)
Log Message: ----------- small bugfix for r8417
Modified Paths: -------------- branches/rewrite/pywikibot/textlib.py trunk/pywikipedia/pywikibot/textlib.py
Modified: branches/rewrite/pywikibot/textlib.py =================================================================== --- branches/rewrite/pywikibot/textlib.py 2010-08-20 08:36:06 UTC (rev 8417) +++ branches/rewrite/pywikibot/textlib.py 2010-08-20 11:08:44 UTC (rev 8418) @@ -853,7 +853,7 @@ return ['hsb', 'dsb', 'de'] if code == 'rm': return ['de', 'it'] - if code == ['stq', 'frr',]: + if code in ['stq', 'frr',]: return ['frr', 'stq', 'fy', 'nds', 'de'] #Greek if code == 'pnt':
Modified: trunk/pywikipedia/pywikibot/textlib.py =================================================================== --- trunk/pywikipedia/pywikibot/textlib.py 2010-08-20 08:36:06 UTC (rev 8417) +++ trunk/pywikipedia/pywikibot/textlib.py 2010-08-20 11:08:44 UTC (rev 8418) @@ -858,7 +858,7 @@ return ['hsb', 'dsb', 'de'] if code == 'rm': return ['de', 'it'] - if code == ['stq', 'frr',]: + if code in ['stq', 'frr',]: return ['frr', 'stq', 'fy', 'nds', 'de'] #Greek if code == 'pnt':
pywikipedia-svn@lists.wikimedia.org