Revision: 7218 Author: filnik Date: 2009-09-07 09:12:09 +0000 (Mon, 07 Sep 2009)
Log Message: ----------- Bugfix by xqt, it fixes bug request: 2853381
Modified Paths: -------------- trunk/pywikipedia/isbn.py
Modified: trunk/pywikipedia/isbn.py =================================================================== --- trunk/pywikipedia/isbn.py 2009-09-06 15:52:15 UTC (rev 7217) +++ trunk/pywikipedia/isbn.py 2009-09-07 09:12:09 UTC (rev 7218) @@ -1203,7 +1203,8 @@ if rest.startswith(prefix): result += prefix + '-' rest = rest[len(prefix):] - + break + # Determine the group for groupNumber in ranges.iterkeys(): if rest.startswith(groupNumber):
pywikipedia-svn@lists.wikimedia.org