aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/FileGenerator.py
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2021-05-06 14:20:14 +1000
committerNeil <nyamatongwe@gmail.com>2021-05-06 14:20:14 +1000
commit43e81343caba072317c0141ef30fc75b3cedab0f (patch)
tree65452b2c82acede81e173b4538ade9da9a89e277 /scripts/FileGenerator.py
parent4c8fd05007555bca62f5b4647395a8669f9f4e78 (diff)
downloadscintilla-mirror-43e81343caba072317c0141ef30fc75b3cedab0f.tar.gz
Remove dead code and imports as found by Vulture.
https://github.com/jendrikseipp/vulture
Diffstat (limited to 'scripts/FileGenerator.py')
-rw-r--r--scripts/FileGenerator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/FileGenerator.py b/scripts/FileGenerator.py
index eb13e0fd5..b4fe02653 100644
--- a/scripts/FileGenerator.py
+++ b/scripts/FileGenerator.py
@@ -150,7 +150,7 @@ def UpdateLineInPlistFile(path, key, value):
elif ls.startswith("<string>"):
if keyCurrent == key:
start, tag, rest = l.partition("<string>")
- val, etag, end = rest.partition("</string>")
+ _val, etag, end = rest.partition("</string>")
l = start + tag + value + etag + end
lines.append(l)
contents = "".join(lines)