jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/725454 )
Change subject: [IMPR]: clarify variable name in djvutext.py
......................................................................
[IMPR]: clarify variable name in djvutext.py
Clarify that we are working on a page interval, not a page.
Change-Id: Idf2fb56ecae4ad975f03d048244e5f141fb497a9
---
M scripts/djvutext.py
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/scripts/djvutext.py b/scripts/djvutext.py
index 4a8baec..ac86ec2 100755
--- a/scripts/djvutext.py
+++ b/scripts/djvutext.py
@@ -172,8 +172,8 @@
# Parse pages param.
pages = pages.split(',')
- for i, page in enumerate(pages):
- start, sep, end = page.partition('-')
+ for i, page_interval in enumerate(pages):
+ start, sep, end = page_interval.partition('-')
start = 1 if not start else int(start)
if not sep:
end = start
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/725454
To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Idf2fb56ecae4ad975f03d048244e5f141fb497a9
Gerrit-Change-Number: 725454
Gerrit-PatchSet: 2
Gerrit-Owner: Mpaa <mpaa.wiki(a)gmail.com>
Gerrit-Reviewer: D3r1ck01 <xsavitar.wiki(a)aol.com>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged