jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/698331 )
Change subject: [cleanup] Replace deprecated CANCEL_MATCH with CANCEL.MATCH
......................................................................
[cleanup] Replace deprecated CANCEL_MATCH with CANCEL.MATCH
Change-Id: I2aac2fa7b72a3f6ddacb87251f16772ad92a96b4
---
M pywikibot/page/__init__.py
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
JJMC89: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/page/__init__.py b/pywikibot/page/__init__.py
index 4c58d68..feb0268 100644
--- a/pywikibot/page/__init__.py
+++ b/pywikibot/page/__init__.py
@@ -1248,10 +1248,10 @@
.format(family, self.site.lang))
# cc depends on page directly and via several other imports
from pywikibot.cosmetic_changes import (
- CANCEL_MATCH,
+ CANCEL,
CosmeticChangesToolkit,
)
- cc_toolkit = CosmeticChangesToolkit(self, ignore=CANCEL_MATCH)
+ cc_toolkit = CosmeticChangesToolkit(self, ignore=CANCEL.MATCH)
self.text = cc_toolkit.change(old)
if summary and old.strip().replace(
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/698331
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I2aac2fa7b72a3f6ddacb87251f16772ad92a96b4
Gerrit-Change-Number: 698331
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: JJMC89 <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]