jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1096138?usp=email )
Change subject: R1723: remove unnecessary elif used after break
......................................................................
R1723: remove unnecessary elif used after break
Change-Id: I4e26fa6b60dc8475e9c6af63d0bef6e8a8094434
---
M scripts/create_isbn_edition.py
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
jenkins-bot: Verified
Xqt: Looks good to me, approved
diff --git a/scripts/create_isbn_edition.py b/scripts/create_isbn_edition.py
index d803761..e33c5f2 100755
--- a/scripts/create_isbn_edition.py
+++ b/scripts/create_isbn_edition.py
@@ -1236,7 +1236,7 @@
add_author = False
break
- elif item_has_label(book_author, author_name):
+ if item_has_label(book_author, author_name):
pywikibot.warning(
f'Edition has conflicting author ({prop}) '
f'{author_name} ({book_author.getID()})'
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1096138?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: I4e26fa6b60dc8475e9c6af63d0bef6e8a8094434
Gerrit-Change-Number: 1096138
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Geertivp <[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]