1
0
forked from VimPlug/jedi

Fix an issue in the diff parser.

This commit is contained in:
Dave Halter
2016-12-20 23:32:51 +01:00
parent 68fabc3048
commit 90b76ee3ec
4 changed files with 32 additions and 9 deletions

View File

@@ -692,9 +692,8 @@ class ErrorLeaf(LeafWithNewLines):
self.original_type = original_type
def __repr__(self):
token_type = token.tok_name[self.original_type]
return "<%s: %s:%s, %s)>" % \
(type(self).__name__, token_type, repr(self.value), self.start_pos)
(type(self).__name__, self.original_type, repr(self.value), self.start_pos)
class IsScopeMeta(type):