mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Update web-platform-tests to revision 3bfdeb8976fc51748935c8d1f1014dfba8e08dfb
This commit is contained in:
parent
fcd6beb608
commit
cb63cfd5c7
185 changed files with 3083 additions and 1074 deletions
|
@ -124,9 +124,8 @@ class Indexer:
|
|||
|
||||
def __writeTemplate(self, template, data, outfile):
|
||||
o = self.tt.process(template, data)
|
||||
f = open(outfile, 'w')
|
||||
f.write(o.encode('utf-8'))
|
||||
f.close()
|
||||
with open(outfile, 'w') as f:
|
||||
f.write(o.encode('utf-8'))
|
||||
|
||||
def writeOverview(self, destDir, errorOut=sys.stderr, addTests=[]):
|
||||
"""Write format-agnostic pages such as test suite overview pages,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue