Fix python 3 syntax error in sym_diff

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@296716 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier
2017-03-02 00:03:01 +00:00
parent 5876a625ba
commit a30d98b7ec

View File

@@ -43,7 +43,7 @@ def changed_symbols(old, new):
continue
new_sym = _find_by_key(new, old_sym['name'])
if (new_sym is not None and not new_sym in old
and cmp(old_sym, new_sym) != 0):
and old_sym != new_sym):
changed += [(old_sym, new_sym)]
return changed