Python 3 fixes (patch #296)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7161 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
06f7335cc8
commit
bdbfff3cf2
5 changed files with 9 additions and 7 deletions
|
@ -366,7 +366,7 @@ defenv.Execute(Delete('$TESTDISTDIR'))
|
|||
def Distribute(files, names, component, path, subpath, alias, install_alias=None):
|
||||
files = MakeFileList(files)
|
||||
|
||||
names = names or map(lambda x: x.name, files)
|
||||
names = names or list(map(lambda x: x.name, files))
|
||||
if isinstance(names, str):
|
||||
names = [names]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue