A lambda creates an anonymous function, and needs to know how many arguments to consume
in case the installation script fails to download.
It is the difference between printing:
Code:
2016-07-04 15:11:16 ERROR 404: Not Found.
Traceback (most recent call last):
File "<string>", line 1, in <module>
TypeError: <lambda>() takes 0 positional arguments but 1 was given
and:
Code:
2016-07-04 15:10:39 ERROR 404: Not Found.
Download failed
tl;dr How many arguments did you pass into:
main()
main('/opt')
main('/opt', True)