Skip to content
Snippets Groups Projects
Unverified Commit 20d49776 authored by Rick Waldron's avatar Rick Waldron Committed by GitHub
Browse files

Merge pull request #1526 from anba/python3

Make parseTestRecord.py python3 compatible
parents 621b3b04 4daa3de9
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,7 @@ def myMultilineList(lines, value):
leading = myLeadingSpaces(line)
if myIsAllSpaces(line):
pass
elif leading < indent:
elif indent is not None and leading < indent:
lines.insert(0, line)
break;
else:
......
......@@ -81,7 +81,7 @@ def yamlAttrParser(testRecord, attrs, name):
parsed = yamlLoad(body)
if (parsed is None):
print "Failed to parse yaml in name %s"%(name)
print("Failed to parse yaml in name %s"%(name))
return
for key in parsed:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment