mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
style: Make tidy happy.
This commit is contained in:
parent
90c0ec0cf7
commit
289d9b033c
7 changed files with 14 additions and 10 deletions
|
@ -247,9 +247,9 @@ class Longhand(object):
|
|||
assert not logical_side
|
||||
logical_side = s
|
||||
assert logical_side
|
||||
physical = PHYSICAL_SIDES if logical_side in LOGICAL_SIDES else \
|
||||
PHYSICAL_SIZES if logical_side in LOGICAL_SIZES else \
|
||||
LOGICAL_CORNERS
|
||||
physical = PHYSICAL_SIDES if logical_side in LOGICAL_SIDES \
|
||||
else PHYSICAL_SIZES if logical_side in LOGICAL_SIZES \
|
||||
else LOGICAL_CORNERS
|
||||
return [self.name.replace(logical_side, physical_side).replace("inset-", "")
|
||||
for physical_side in physical]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue