mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[gardening] Fix several python-lint warnings
This commit is contained in:
@@ -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]]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user