From 5b99c12aedc92b60ee58c1cffb87c4fe287ba023 Mon Sep 17 00:00:00 2001 From: Arkadiusz Hiler Date: Fri, 26 Jul 2024 10:05:48 +0300 Subject: [PATCH] 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. --- proton | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proton b/proton index 67cd0da3..96f7212e 100755 --- a/proton +++ b/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)