John Vandenberg has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/169651

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(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/51/169651/1

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: newchange
Gerrit-Change-Id: I2adecb09876bdf64ff4e9e03dd095368fa6135b2
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: John Vandenberg <[email protected]>

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

Reply via email to