jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1167536?usp=email )
Change subject: IMPR: remove duplicate logic in add_claims
......................................................................
IMPR: remove duplicate logic in add_claims
Change-Id: Icdf8b7bfd9cef60bef77b5ecf1ac7b816c31703b
---
M scripts/create_isbn_edition.py
1 file changed, 0 insertions(+), 5 deletions(-)
Approvals:
jenkins-bot: Verified
Matěj Suchánek: Looks good to me, approved
diff --git a/scripts/create_isbn_edition.py b/scripts/create_isbn_edition.py
index a042a99..98bd02d 100755
--- a/scripts/create_isbn_edition.py
+++ b/scripts/create_isbn_edition.py
@@ -967,11 +967,6 @@
# Redundant "subtitles" are ignored
subtitle = first_upper(titles[1].strip())
- # Get formatted ISBN number
- isbn_number = isbn_data['ISBN-13'] # Numeric format
- isbn_fmtd = isbnlib.mask(isbn_number) # Canonical format (with "-")
- pywikibot.log(isbn_fmtd)
-
# Search the ISBN number both in canonical and numeric format
qnumber_list = get_item_with_prop_value(ISBNPROP, isbn_fmtd)
qnumber_list.update(get_item_with_prop_value(ISBNPROP, isbn_number))
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1167536?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: Icdf8b7bfd9cef60bef77b5ecf1ac7b816c31703b
Gerrit-Change-Number: 1167536
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Matěj Suchánek <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]