style: Appease tidy.

This commit is contained in:
Emilio Cobos Álvarez 2018-07-24 03:50:50 +02:00
parent 9118dd838e
commit 658b8e3312
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
2 changed files with 4 additions and 4 deletions

View file

@ -245,9 +245,8 @@ class Longhand(object):
logical_side = s
assert logical_side
physical = PHYSICAL_SIDES if logical_side in LOGICAL_SIDES else PHYSICAL_SIZES
return [self.name.replace(logical_side, physical_side).replace("inset-", "") \
for physical_side in physical]
return [self.name.replace(logical_side, physical_side).replace("inset-", "")
for physical_side in physical]
def experimental(self, product):
if product == "gecko":

View file

@ -2004,7 +2004,8 @@ impl PropertyDeclaration {
% if prop.logical:
% for physical_property in prop.all_physical_mapped_properties():
% if data.longhands_by_name[physical_property].specified_type() != prop.specified_type():
<% raise "Logical property %s should share specified value with physical property %s" % (prop.name, physical_property) %>
<% raise "Logical property %s should share specified value with physical property %s" % \
(prop.name, physical_property) %>
% endif
% endfor
% endif