mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-27 07:05:46 +03:00
proton: Use None instead of False for default argument value.
This fixes type inference - tools no longer assume that there's a possibility of the value ever being True.
This commit is contained in:
parent
9e4a12cbaa
commit
5b99c12aed
2
proton
2
proton
@ -141,7 +141,7 @@ def merge_user_dir(src, dst):
|
||||
extant_dirs += dst_dir
|
||||
|
||||
def try_copy(src, dst, prefix=None, add_write_perm=True, copy_metadata=False, optional=False,
|
||||
follow_symlinks=True, track_file=False, link_debug=False):
|
||||
follow_symlinks=True, track_file=None, link_debug=False):
|
||||
try:
|
||||
if prefix is not None:
|
||||
dst = os.path.join(prefix, dst)
|
||||
|
Loading…
Reference in New Issue
Block a user