mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
Merge pull request #92829 from marload/patch-0706-04
Refactoring: Reduce unnecessary lines
This commit is contained in:
commit
3b868e1a71
@ -69,8 +69,7 @@ def get_all_files(rootdir):
|
||||
|
||||
for name in files:
|
||||
pathname = os.path.join(root, name)
|
||||
if is_binary(pathname):
|
||||
continue
|
||||
if not is_binary(pathname):
|
||||
all_files.append(pathname)
|
||||
return all_files
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user