jenkins-bot submitted this change.
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.