jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/883214 )
Change subject: [fix] Update Toolforge hostname for version.py ......................................................................
[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(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
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
pywikibot-commits@lists.wikimedia.org