Skip to content
Commit 0243ccec authored by Daniel Silverstone's avatar Daniel Silverstone
Browse files

_fuse/{hardlinks,mount}.py: Remove dangerous use of {} in defaults



Since default values in arguments to functions and methods are created once
at the compilation of the code, it is dangerous to include list and dict
literals in them.  This changes the use of {} to None.

Signed-off-by: default avatarDaniel Silverstone <daniel.silverstone@codethink.co.uk>
parent d2b43b85
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment