jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/362184 )
Change subject: [DOC] Fix missleading comment for UserBlocked ......................................................................
[DOC] Fix missleading comment for UserBlocked
Change-Id: Iefea1ad27bf2eb691d3e1636a3323548833e5491 --- M pywikibot/exceptions.py 1 file changed, 4 insertions(+), 5 deletions(-)
Approvals: Dalba: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/exceptions.py b/pywikibot/exceptions.py index 921ce86..aa249c7 100644 --- a/pywikibot/exceptions.py +++ b/pywikibot/exceptions.py @@ -77,7 +77,7 @@ - FamilyMaintenanceWarning: missing information in family definition """ # -# (C) Pywikibot team, 2008-2015 +# (C) Pywikibot team, 2008-2017 # # Distributed under the terms of the MIT license. # @@ -480,13 +480,12 @@
"""Server responded with BadTitle."""
-# UserBlocked exceptions should in general not be caught. If the bot has -# been blocked, the bot operator should address the reason for the block -# before continuing. - pass
+# UserBlocked exceptions should in general not be caught. If the bot has +# been blocked, the bot operator should address the reason for the block +# before continuing. class UserBlocked(Error): # noqa
"""Your username or IP has been blocked"""
pywikibot-commits@lists.wikimedia.org