jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1307545?usp=email )
Change subject: [bugfix] Fix error logging funktion name in upload.py script
......................................................................
[bugfix] Fix error logging funktion name in upload.py script
Change-Id: I1296fa0180fcc767a88fea55d745acd2c56d11e2
---
M scripts/upload.py
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/scripts/upload.py b/scripts/upload.py
index 9f8a47c..a10f06e 100755
--- a/scripts/upload.py
+++ b/scripts/upload.py
@@ -187,7 +187,7 @@
filepath = Path(description_file)
if not filepath.is_file() or filepath.is_symlink():
- pywikibot.Error('Invalid filename given with -descfile')
+ pywikibot.error('Invalid filename given with -descfile')
return
description = filepath.read_text(
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1307545?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I1296fa0180fcc767a88fea55d745acd2c56d11e2
Gerrit-Change-Number: 1307545
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]