Fix python 3 syntax error in sym_diff

llvm-svn: 296716
This commit is contained in:
Eric Fiselier 2017-03-02 00:03:01 +00:00
parent 3781227448
commit 803a491a64
1 changed files with 1 additions and 1 deletions

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