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 <[email protected]>
Gerrit-Reviewer: Dalba <[email protected]>
Gerrit-Reviewer: Ladsgroup <[email protected]>
Gerrit-Reviewer: Merlijn van Deen <[email protected]>
Gerrit-Reviewer: XZise <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to