aboutsummaryrefslogtreecommitdiff
path: root/msi
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2018-03-03 21:20:00 +0000
committerJon Turney <jon.turney@dronecode.org.uk>2018-03-03 21:36:37 +0000
commit8958529a2596c73bdb3cb599ced5f2c440359b5a (patch)
tree5578a0bd1316ce0d266a3f41c0ec7a56e4ac4312 /msi
parent2f6ed470771858d96d435131e2624fb144464973 (diff)
downloadmeson-8958529a2596c73bdb3cb599ced5f2c440359b5a.zip
meson-8958529a2596c73bdb3cb599ced5f2c440359b5a.tar.gz
meson-8958529a2596c73bdb3cb599ced5f2c440359b5a.tar.bz2
Fix flake8 'variable assigned value but unused' reports
$ flake8 | grep -E 'F841' ./run_unittests.py:1987:13: F841 local variable 'objc' is assigned to but never used ./run_unittests.py:1988:13: F841 local variable 'objcpp' is assigned to but never used ./mesonbuild/minit.py:272:5: F841 local variable 'uppercase_token' is assigned to but never used ./mesonbuild/minit.py:307:5: F841 local variable 'uppercase_token' is assigned to but never used ./mesonbuild/modules/unstable_icestorm.py:36:9: F841 local variable 'result' is assigned to but never used ./mesonbuild/modules/unstable_icestorm.py:78:9: F841 local variable 'up_target' is assigned to but never used ./mesonbuild/modules/unstable_icestorm.py:81:9: F841 local variable 'time_target' is assigned to but never used ./msi/createmsi.py:226:17: F841 local variable 'file_source' is assigned to but never used
Diffstat (limited to 'msi')
-rwxr-xr-xmsi/createmsi.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/msi/createmsi.py b/msi/createmsi.py
index c709745..499f4b0 100755
--- a/msi/createmsi.py
+++ b/msi/createmsi.py
@@ -223,7 +223,6 @@ class PackageGenerator:
})
self.component_num += 1
for f in cur_node.files:
- file_source = os.path.join(current_dir, f).replace('\\', '\\\\')
file_id = os.path.join(current_dir, f).replace('\\', '_').replace('#', '_').replace('-', '_')
ET.SubElement(comp_xml_node, 'File', {
'Id': file_id,