Bug 1559975 - Fix python3 lint issues on servo r=ahal

Differential Revision: https://phabricator.services.mozilla.com/D35247

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Calixte Denizet 2019-07-05 14:29:44 +00:00
Родитель f9387885aa
Коммит 8cff6b528a
2 изменённых файлов: 5 добавлений и 3 удалений

Просмотреть файл

@ -558,7 +558,7 @@ class PropertiesData(object):
longhand = Longhand(self.current_style_struct, name, **kwargs)
self.add_prefixed_aliases(longhand)
longhand.alias = list(map(lambda (x, p): Alias(x, longhand, p), longhand.alias))
longhand.alias = list(map(lambda xp: Alias(xp[0], longhand, xp[1]), longhand.alias))
self.longhand_aliases += longhand.alias
self.current_style_struct.longhands.append(longhand)
self.longhands.append(longhand)
@ -574,7 +574,7 @@ class PropertiesData(object):
sub_properties = [self.longhands_by_name[s] for s in sub_properties]
shorthand = Shorthand(name, sub_properties, *args, **kwargs)
self.add_prefixed_aliases(shorthand)
shorthand.alias = list(map(lambda (x, p): Alias(x, shorthand, p), shorthand.alias))
shorthand.alias = list(map(lambda xp: Alias(xp[0], shorthand, xp[1]), shorthand.alias))
self.shorthand_aliases += shorthand.alias
self.shorthands.append(shorthand)
return shorthand

Просмотреть файл

@ -18,7 +18,9 @@ py3:
- media
- modules/freetype2
- security/manager/ssl
- servo
- testing/awsy
- testing/firefox-ui/harness/firefox_ui_harness/runners/update.py
- testing/gtest
- testing/mochitest
- testing/mozharness
- testing/tools/iceserver