# HG changeset patch # User Brodie Rao # Date 1336830983 -7200 # Node ID 838e4146e7630ac33316e64dc35b88098eab62aa # Parent 4e0cef7a70cf91e7876a33b233ae57b6bd1bc466 cleanup: "x != None" -> "x is not None" [ original upstream message ] diff -r 4e0cef7a70cf -r 838e4146e763 tests/hghave --- a/tests/hghave Sat May 12 15:54:54 2012 +0200 +++ b/tests/hghave Sat May 12 15:56:23 2012 +0200 @@ -31,14 +31,14 @@ def has_bzr(): try: import bzrlib - return bzrlib.__doc__ != None + return bzrlib.__doc__ is not None except ImportError: return False def has_bzr114(): try: import bzrlib - return (bzrlib.__doc__ != None + return (bzrlib.__doc__ is not None and bzrlib.version_info[:2] >= (1, 14)) except ImportError: return False