jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/800934 )
Change subject: [bugfix] Solve E1123: unexpected keyword argument in function
call
......................................................................
[bugfix] Solve E1123: unexpected keyword argument in function call
Change-Id: I74a721a70ee13336e6385ed08aaec0f5baf1751d
---
M scripts/dataextend.py
1 file changed, 3 insertions(+), 2 deletions(-)
Approvals:
D3r1ck01: Looks good to me, approved
jenkins-bot: Verified
diff --git a/scripts/dataextend.py b/scripts/dataextend.py
index 5792aee..c674835 100644
--- a/scripts/dataextend.py
+++ b/scripts/dataextend.py
@@ -12591,10 +12591,11 @@
'<label>{}:</label>(.*?)<(?:label|<h3 class="underscratch)'
.format(field), html, dtype)
- def getvalues(self, field, html, dtype=None) -> List[str]:
+ def getvalues(self, field, html, dtype=None, alt=None) -> List[str]:
section = self.getvalue(field, html)
if section:
- return self.findallbyre('>([^<>]+)<', section, dtype)
+ return self.findallbyre('>([^<>]+)<', section,
+ dtype=dtype, alt=alt)
return []
def findinstanceof(self, html):
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/800934
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I74a721a70ee13336e6385ed08aaec0f5baf1751d
Gerrit-Change-Number: 800934
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Andre Engels <[email protected]>
Gerrit-Reviewer: D3r1ck01 <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]