# HG changeset patch # User Igor Chubin # Date 1320402441 -3600 # Node ID 3682038403ad9f88a1e856fb5c6f8a14284a0543 # Parent 7a7a88277c08c399265742c0bcc32291c694506c minifix diff -r 7a7a88277c08 -r 3682038403ad new-words.py --- a/new-words.py Thu Nov 03 16:10:58 2011 +0100 +++ b/new-words.py Fri Nov 04 11:27:21 2011 +0100 @@ -693,8 +693,9 @@ lines_after = lines deleted_words = [] + lines_after_set = set(lines_after) for line in lines_before: - if line not in lines_after: + if line not in lines_after_set: line = line.strip() if ' ' in line: word = re.split('\s+', line, 1)[1]