Skip to content
This repository was archived by the owner on Mar 8, 2020. It is now read-only.

Commit e09b4d0

Browse files
authored
Merge pull request #141 from smacker/patch-1
Incorrect exception raising fix #140
2 parents 3fe3582 + e3e9584 commit e09b4d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

native/python_package/python_driver/astimprove.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def _pop_token(self, lineno: int, token_value: str) -> Token:
116116
return t
117117

118118
raise TokenNotFoundException("Token named '{}' not found in line {}"
119-
.format(t.value, lineno))
119+
.format(token_value, lineno))
120120

121121
def sync_node_pos(self, nodedict: Node) -> None:
122122
"""

0 commit comments

Comments
 (0)