jenkins-bot submitted this change.

View Change

Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
[fix] Update Toolforge hostname for

We're no longer using `wmflabs`.

Change-Id: Id10666621e9f8564e355e160e0d69d79bea31fb8
M pywikibot/
1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/pywikibot/ b/pywikibot/
index bfaa619..7dd4633 100644
--- a/pywikibot/
+++ b/pywikibot/
@@ -39,7 +39,7 @@
:return: The hostname of the currently running host,
if it is in Wikimedia Toolforge; otherwise return None.
- if socket.getfqdn().endswith('.tools.eqiad.wmflabs'):
+ if socket.getfqdn().endswith(''):
return socket.gethostname()
return None

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

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Id10666621e9f8564e355e160e0d69d79bea31fb8
Gerrit-Change-Number: 883214
Gerrit-PatchSet: 2
Gerrit-Owner: MarcoAurelio <>
Gerrit-Reviewer: Xqt <>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged