jenkins-bot submitted this change.

View Change

Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
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(-)

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):

To view, visit change 795257. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I3618289623bdd3b02541d442226d641727d77572
Gerrit-Change-Number: 795257
Gerrit-PatchSet: 2
Gerrit-Owner: DannyS712 <dannys712.wiki@gmail.com>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged