jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/390942 )

Change subject: api.py: Allow `:` in the hostname of lagpattern
......................................................................


api.py: Allow `:` in the hostname of lagpattern

The hostname of lagpattern can be in `<ip_address>:<port>` format.

Bug: T180313
Change-Id: I7b3d82379c8aa082e16e35cd9eaeff6cc4c41fbb
---
M pywikibot/data/api.py
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  jenkins-bot: Verified
  Xqt: Looks good to me, approved



diff --git a/pywikibot/data/api.py b/pywikibot/data/api.py
index 540648d..b0f3865 100644
--- a/pywikibot/data/api.py
+++ b/pywikibot/data/api.py
@@ -93,7 +93,7 @@
 _logger = "data.api"
 
 lagpattern = re.compile(
-    r'Waiting for [\w. ]+: (?P<lag>\d+)(?:\.\d+)? seconds? lagged')
+    r'Waiting for [\w.: ]+: (?P<lag>\d+)(?:\.\d+)? seconds? lagged')
 
 
 class APIError(Error):

-- 
To view, visit https://gerrit.wikimedia.org/r/390942
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I7b3d82379c8aa082e16e35cd9eaeff6cc4c41fbb
Gerrit-PatchSet: 2
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Dalba <[email protected]>
Gerrit-Reviewer: John Vandenberg <[email protected]>
Gerrit-Reviewer: Magul <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: Zoranzoki21 <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to