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
pywikibot-commits@lists.wikimedia.org