jenkins-bot has submitted this change and it was merged.
Change subject: Cosmetic changes fixup
......................................................................
Cosmetic changes fixup
f0543d6 heavily revised to flow and error control of the script
cosmetic_changes. However a bug meant the changes made by the
change methods were discarded.
Change-Id: I2adecb09876bdf64ff4e9e03dd095368fa6135b2
---
M scripts/cosmetic_changes.py
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
XZise: Looks good to me, approved
Dalba: Looks good to me, but someone else must approve
jenkins-bot: Verified
diff --git a/scripts/cosmetic_changes.py b/scripts/cosmetic_changes.py
index f0c892d..07f9c33 100755
--- a/scripts/cosmetic_changes.py
+++ b/scripts/cosmetic_changes.py
@@ -206,7 +206,7 @@
pywikibot.exception(e)
else:
raise
- return text if result is None else text
+ return text if result is None else result
@staticmethod
def isbn_execute(text):
--
To view, visit
https://gerrit.wikimedia.org/r/169651
To unsubscribe, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I2adecb09876bdf64ff4e9e03dd095368fa6135b2
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Dalba <dalba.wiki(a)gmail.com>
Gerrit-Reviewer: Ladsgroup <ladsgroup(a)gmail.com>
Gerrit-Reviewer: Merlijn van Deen <valhallasw(a)arctus.nl>
Gerrit-Reviewer: XZise <CommodoreFabianus(a)gmx.de>
Gerrit-Reviewer: jenkins-bot <>