From 803a491a6453c08b355cc29568c4919b23def9ef Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Thu, 2 Mar 2017 00:03:01 +0000 Subject: [PATCH] Fix python 3 syntax error in sym_diff llvm-svn: 296716 --- libcxx/utils/libcxx/sym_check/diff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcxx/utils/libcxx/sym_check/diff.py b/libcxx/utils/libcxx/sym_check/diff.py index 55443bd6fd59..0821ef6f780a 100644 --- a/libcxx/utils/libcxx/sym_check/diff.py +++ b/libcxx/utils/libcxx/sym_check/diff.py @@ -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