summaryrefslogtreecommitdiffstats
path: root/Lib/msilib/__init__.py
diff options
context:
space:
mode:
authorZackery Spytz <zspytz@gmail.com>2019-05-31 16:43:13 (GMT)
committerSteve Dower <steve.dower@python.org>2019-05-31 16:43:13 (GMT)
commitc8d5bf6c3fa09b43f6a5ee779d493d251dbcc53c (patch)
tree44a1e31c84e4657a006f24351cc5427bb0aa3548 /Lib/msilib/__init__.py
parent4612671df2742eade8ecf8003a6ce1247973c135 (diff)
downloadcpython-c8d5bf6c3fa09b43f6a5ee779d493d251dbcc53c.zip
cpython-c8d5bf6c3fa09b43f6a5ee779d493d251dbcc53c.tar.gz
cpython-c8d5bf6c3fa09b43f6a5ee779d493d251dbcc53c.tar.bz2
bpo-12639: msilib.Directory.start_component() fails if *keyfile* is not None (GH-13688)
msilib.Directory.start_component() was passing an extra argument to CAB.gen_id().
Diffstat (limited to 'Lib/msilib/__init__.py')
-rw-r--r--Lib/msilib/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/msilib/__init__.py b/Lib/msilib/__init__.py
index 8c5251d..0bc8dd9 100644
--- a/Lib/msilib/__init__.py
+++ b/Lib/msilib/__init__.py
@@ -273,7 +273,7 @@ class Directory:
if AMD64:
flags |= 256
if keyfile:
- keyid = self.cab.gen_id(self.absolute, keyfile)
+ keyid = self.cab.gen_id(keyfile)
self.keyfiles[keyfile] = keyid
else:
keyid = None