mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Improve formatting of Python files (#30919)
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>
This commit is contained in:
parent
df157dcc03
commit
554b35b705
8 changed files with 48 additions and 54 deletions
|
@ -54,9 +54,9 @@ def print_line(value1, value2, key):
|
|||
for key in keys:
|
||||
value1 = data1.get(key)
|
||||
value2 = data2.get(key)
|
||||
if value1 and not(value2):
|
||||
if value1 and not (value2):
|
||||
print("{}Test {}: missing from {}.{}".format(WARNING, key, args.file2, END))
|
||||
elif value2 and not(value1):
|
||||
elif value2 and not (value1):
|
||||
print("{}Test {}: missing from {}.{}".format(WARNING, key, args.file1, END))
|
||||
elif value1 and value2:
|
||||
total1 += value1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue