jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/513031 )
Change subject: [bugfix] Fix _formatLimit_MonthOfYear ......................................................................
[bugfix] Fix _formatLimit_MonthOfYear
Limit is given as 1900 but not recognized by predicate
Change-Id: I72495c1d31774a76880f1e7ebfc60a116ad8cc35 --- M pywikibot/date.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Dalba: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/date.py b/pywikibot/date.py index bf05fc8..a9ffd56 100644 --- a/pywikibot/date.py +++ b/pywikibot/date.py @@ -2152,7 +2152,7 @@ }
# All month of year articles are in the same format -_formatLimit_MonthOfYear = (lambda v: 1 <= 1900 and v < 2051, 1900, 2051) +_formatLimit_MonthOfYear = (lambda v: 1900 <= v < 2051, 1900, 2051) for month in yrMnthFmts: formatLimits[month] = _formatLimit_MonthOfYear