Merlijn van Deen has submitted this change and it was merged.
Change subject: Disable printing of API parameters which could leak private
info and were generally not useful
......................................................................
Disable printing of API parameters which could leak private info and were
generally not useful
Change-Id: I8a8a8d10799df4f61e4465fe60b6c7efbefbd962
---
M tests/__init__.py
1 file changed, 0 insertions(+), 7 deletions(-)
Approvals:
Merlijn van Deen: Looks good to me, approved
diff --git a/tests/__init__.py b/tests/__init__.py
index 0487fc4..e0c4f27 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -24,13 +24,6 @@
def _expired(self, dt):
return False
- def submit(self):
- cached_available = self._load_cache()
- if not cached_available:
- print str(self)
- return super(TestRequest, self).submit()
-
-
def patch_request():
pywikibot.data.api.Request = TestRequest
--
To view, visit https://gerrit.wikimedia.org/r/78542
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I8a8a8d10799df4f61e4465fe60b6c7efbefbd962
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>
Gerrit-Reviewer: Ladsgroup <[email protected]>
Gerrit-Reviewer: Merlijn van Deen <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits