mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
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().
This commit is contained in:
parent
4612671df2
commit
c8d5bf6c3f
3 changed files with 12 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue