jenkins-bot has submitted this change and it was merged.
Change subject: [bugfix] Fix ISBN formating ......................................................................
[bugfix] Fix ISBN formating
bug: T97887 Change-Id: Ic407c51db3aa2d974f3d8d403f56e28d69c84663 --- M scripts/isbn.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: XZise: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/isbn.py b/scripts/isbn.py index 1ddbe2e..4040642 100755 --- a/scripts/isbn.py +++ b/scripts/isbn.py @@ -1211,7 +1211,7 @@ # Determine the publisher for (start, end) in publisherRanges: length = len(start) # NOTE: start and end always have equal length - if rest[:length] > start and rest[:length] <= end: + if rest[:length] >= start and rest[:length] <= end: result += rest[:length] + '-' rest = rest[length:] break
pywikibot-commits@lists.wikimedia.org