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):
pywikibot-commits@lists.wikimedia.org