jenkins-bot merged this change.

View Change

Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
[IMPR] Deprecate test family for default site

Change-Id: I1562e45b3311e37d47fda0825ed08e30bd277e9d
---
M pywikibot/config2.py
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pywikibot/config2.py b/pywikibot/config2.py
index 0d08bcc..6f6bed7 100644
--- a/pywikibot/config2.py
+++ b/pywikibot/config2.py
@@ -1148,8 +1148,8 @@
if family == 'wikipedia' and mylang == 'language':
if __no_user_config != '2':
warning('family and mylang are not set.\n'
- "Defaulting to family='test' and mylang='test'.")
- family = mylang = 'test'
+ "Defaulting to family='wikipedia' and mylang='test'.")
+ mylang = 'test'

# Fix up socket_timeout
# Older requests library expect a single value whereas newer versions also

To view, visit change 584920. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I1562e45b3311e37d47fda0825ed08e30bd277e9d
Gerrit-Change-Number: 584920
Gerrit-PatchSet: 2
Gerrit-Owner: Dvorapa <dvorapa@seznam.cz>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot (75)