jenkins-bot has submitted this change and it was merged.
Change subject: checkimages.py: pyflake fixes
......................................................................
checkimages.py: pyflake fixes
local variable 'usage' is assigned to but never used
local variable 'image_to_resub' is assigned to but never used
local variable 'pos' is assigned to but never used
Change-Id: I35b7ef6a8eefe3861817b2877d97e35b6ce0c5ea
---
M scripts/checkimages.py
1 file changed, 0 insertions(+), 3 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/scripts/checkimages.py b/scripts/checkimages.py
index e361c38..b19aba6 100644
--- a/scripts/checkimages.py
+++ b/scripts/checkimages.py
@@ -888,7 +888,6 @@
def returnOlderTime(self, listGiven, timeListGiven):
""" Get some time and return the oldest of them
"""
- usage = False
num = 0
num_older = None
max_usage = 0
@@ -1115,7 +1114,6 @@
if len(images_to_tag_list) != 0 and not only_report:
already_reported_in_past = self.countEdits(
u'File:%s' % images_to_tag_list[-1], self.botolist)
- image_to_resub = images_to_tag_list[-1]
from_regex = r'\n\*\[\[:File:%s\]\]' \
% re.escape(self.convert_to_url(
self.imageName))
@@ -1488,7 +1486,6 @@
def load(self, raw):
""" Load a list of objects from a string using regex.
"""
list_loaded = []
- pos = 0
# I search with a regex how many user have not the talk page
# and i put them in a list (i find it more easy and secure)
regl = r"(\"|\')(.*?)\1(?:,|\])"
--
To view, visit
https://gerrit.wikimedia.org/r/142863
To unsubscribe, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I35b7ef6a8eefe3861817b2877d97e35b6ce0c5ea
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Mpaa <mpaa.wiki(a)gmail.com>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot <>