mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-21 21:26:03 +01: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
ea996efc3d
commit
c57940a528
1 changed files with 1 additions and 1 deletions
2
proton
2
proton
|
|
@ -142,7 +142,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…
Add table
Add a link
Reference in a new issue