jenkins-bot submitted this change.

View Change

Approvals: D3r1ck01: Looks good to me, approved jenkins-bot: Verified
[doc] Fix doc for raising Exception in add_text.py

Change-Id: I697cf094c1432f2b159b47d42568ce0957e41bfd
---
M scripts/add_text.py
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/scripts/add_text.py b/scripts/add_text.py
index dd54b72..6f5ba3c 100755
--- a/scripts/add_text.py
+++ b/scripts/add_text.py
@@ -396,10 +396,8 @@

:param argv: input arguments to be parsed
:param generator_factory: factory that will determine the page to edit
-
:return: dictionary with our parsed arguments
-
- @raise: ValueError if we receive invalid arguments
+ :raise ValueError: invalid arguments received
"""
args = dict(DEFAULT_ARGS)
argv = pywikibot.handle_args(argv)

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

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I697cf094c1432f2b159b47d42568ce0957e41bfd
Gerrit-Change-Number: 704975
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info@gno.de>
Gerrit-Reviewer: D3r1ck01 <xsavitar.wiki@aol.com>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged