mirror of
https://github.com/uutils/coreutils
synced 2024-07-21 18:04:45 +00:00
python: simplify the code a bit
This commit is contained in:
parent
f8e0a73fb5
commit
355d242e7a
|
@ -59,7 +59,7 @@ for d in data:
|
|||
sys.exit(1)
|
||||
|
||||
# if it is SKIP or ERROR, show it
|
||||
if data[d][e] == "SKIP" or data[d][e] == "ERROR":
|
||||
if data[d][e] in ("SKIP", "ERROR"):
|
||||
list_of_files.remove(a)
|
||||
error_or_skip_tests.append(a)
|
||||
|
||||
|
|
Loading…
Reference in a new issue