jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/795257 )
Change subject: need_right decorator: copyedit obsolete error message ......................................................................
need_right decorator: copyedit obsolete error message
- stewards should be plural - add missing "the"
Change-Id: I3618289623bdd3b02541d442226d641727d77572 --- M pywikibot/site/_decorators.py 1 file changed, 2 insertions(+), 2 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/site/_decorators.py b/pywikibot/site/_decorators.py index 5089b41..abed42e 100644 --- a/pywikibot/site/_decorators.py +++ b/pywikibot/site/_decorators.py @@ -81,8 +81,8 @@ if self.obsolete: if not self.has_group('steward'): raise UserRightsError( - 'Site {} has been closed. Only steward ' - 'can perform requested action.' + 'Site {} has been closed. Only stewards ' + 'can perform the requested action.' .format(self.sitename))
elif right is not None and not self.has_right(right):
pywikibot-commits@lists.wikimedia.org