jenkins-bot submitted this change.
[fix] Update Toolforge hostname for version.py
We're no longer using `wmflabs`.
Change-Id: Id10666621e9f8564e355e160e0d69d79bea31fb8
---
M pywikibot/version.py
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/pywikibot/version.py b/pywikibot/version.py
index bfaa619..7dd4633 100644
--- a/pywikibot/version.py
+++ b/pywikibot/version.py
@@ -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('.tools.eqiad1.wikimedia.cloud'):
return socket.gethostname()
return None
To view, visit change 883214. To unsubscribe, or for help writing mail filters, visit settings.