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):
pywikibot-commits@lists.wikimedia.org