lorax/src/sbin
Alexander Todorov ad9d502fa9 Fix dangerous-default value warnings
when default value is list or dict the default arguments are
instantiated as objects at the time of definition. This is significant
(exposing visible semantics) when the object is mutable. There’s no way
of re-binding that default argument name in the function’s closure. When
function is executed multiple times with its default value the value
will change between executions, possibly leading to strange side effects.

For more information see:
http://satran.in/2012/01/12/python-dangerous-default-value-as-argument.html
2017-10-13 18:58:40 +03:00
..
livemedia-creator Don't redefine variables from outer scope 2017-10-13 18:58:40 +03:00
lorax Fix dangerous-default value warnings 2017-10-13 18:58:40 +03:00
lorax-composer pylint fix: remove unused imports 2017-10-13 18:58:40 +03:00
mkefiboot Don't redefine variables from outer scope 2017-10-13 18:58:40 +03:00