1
0
forked from VimPlug/jedi

Fix an issue in the parse call.

This commit is contained in:
Dave Halter
2017-03-26 01:26:01 +01:00
parent 7874026ee5
commit fb8ffde32e
2 changed files with 8 additions and 7 deletions

View File

@@ -206,10 +206,6 @@ class DiffParser(object):
debug.speed('diff parser calculated')
debug.dbg('diff: line_lengths old: %s, new: %s' % (len(lines_old), line_length))
if len(opcodes) == 1 and opcodes[0][0] == 'equal':
self._copy_count = 1
return self._module
for operation, i1, i2, j1, j2 in opcodes:
debug.dbg('diff %s old[%s:%s] new[%s:%s]',
operation, i1 + 1, i2, j1 + 1, j2)