jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/934660 )
Change subject: [IMPR] Global variables are declared but not used as globals
......................................................................
[IMPR] Global variables are declared but not used as globals
Change-Id: I74f113a7630abed7c8e2dc0de3cf4edef55b923a
---
M scripts/create_isbn_edition.py
1 file changed, 9 insertions(+), 3 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/scripts/create_isbn_edition.py b/scripts/create_isbn_edition.py
index bf344b9..9c282a0 100755
--- a/scripts/create_isbn_edition.py
+++ b/scripts/create_isbn_edition.py
@@ -362,9 +362,6 @@
:param isbn_number: ISBN number (10 or 13 digits with optional hyphens)
"""
- global proptyx
- global targetx
-
isbn_number = isbn_number.strip()
if not isbn_number:
return # Do nothing when the ISBN number is missing
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/934660
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: I74f113a7630abed7c8e2dc0de3cf4edef55b923a
Gerrit-Change-Number: 934660
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: D3r1ck01 <[email protected]>
Gerrit-Reviewer: Geertivp <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]