mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-17 15:50:10 +00:00
Refactoring: Reduce unnecessary lines
This commit is contained in:
parent
865cbf0bdf
commit
429672037c
@ -69,9 +69,8 @@ def get_all_files(rootdir):
|
||||
|
||||
for name in files:
|
||||
pathname = os.path.join(root, name)
|
||||
if is_binary(pathname):
|
||||
continue
|
||||
all_files.append(pathname)
|
||||
if not is_binary(pathname):
|
||||
all_files.append(pathname)
|
||||
return all_files
|
||||
|
||||
# Collects all the flags used in golang files and verifies the flags do
|
||||
|
Loading…
Reference in New Issue
Block a user