aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZackery Spytz <zspytz@gmail.com>2019-05-31 10:43:13 -0600
committerSteve Dower <steve.dower@python.org>2019-05-31 09:43:13 -0700
commitc8d5bf6c3fa09b43f6a5ee779d493d251dbcc53c (patch)
tree44a1e31c84e4657a006f24351cc5427bb0aa3548 /Lib/msilib
parentbpo-25735: math.factorial doc should mention integer return type (GH-6420) (diff)
downloadcpython-c8d5bf6c3fa09b43f6a5ee779d493d251dbcc53c.tar.gz
cpython-c8d5bf6c3fa09b43f6a5ee779d493d251dbcc53c.tar.bz2
cpython-c8d5bf6c3fa09b43f6a5ee779d493d251dbcc53c.zip
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')
-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 8c5251d9baf..0bc8dd99524 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