[gardening] Fix several python-lint warnings

This commit is contained in:
Alex Hoppen
2019-10-25 11:57:37 -07:00
parent 7ed085cb55
commit 46501b881f
7 changed files with 4 additions and 6 deletions

View File

@@ -88,7 +88,7 @@ def main(argc, argv):
lines = stdout.decode(encoding).split('\n')
sequence = difflib.SequenceMatcher(None, buf, lines)
for op in reversed(sequence.get_opcodes()):
if op[0] is not 'equal':
if op[0] != 'equal':
vim.current.buffer[op[1]:op[2]] = lines[op[3]:op[4]]