Skip to content

Commit f5655a3

Browse files
committed
Fix arguments order in error message
1 parent 808d102 commit f5655a3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGES.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Change Log
66

77
Released on XXX, 2014
88

9-
* XXX
9+
* Minor fix on error reporting message.
1010

1111

1212
0.999

html5lib/html5parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1327,7 +1327,7 @@ def endTagBody(self, token):
13271327
# Not sure this is the correct name for the parse error
13281328
self.parser.parseError(
13291329
"expected-one-end-tag-but-got-another",
1330-
{"expectedName": "body", "gotName": node.name})
1330+
{"gotName": "body", "expectedName": node.name})
13311331
break
13321332
self.parser.phase = self.parser.phases["afterBody"]
13331333

0 commit comments

Comments
 (0)