From dade35289dc6bb58078821dc34c385b5af5a4f54 Mon Sep 17 00:00:00 2001 From: Martin Date: Sat, 2 Jul 2016 03:37:33 +0200 Subject: [PATCH] Pylint: examples: fix singleton comparison --- examples/zonediff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/zonediff.py b/examples/zonediff.py index 641c0efa..f388c170 100755 --- a/examples/zonediff.py +++ b/examples/zonediff.py @@ -237,7 +237,7 @@ The differences shown will be logical differences, not textual differences. "Unable to retrieve revision %s of %s" % (newr, filename)) if not opts.use_vc: old = _open(oldn, "Unable to open %s" % oldn) - if not opts.use_vc or newr == None: + if not opts.use_vc or newr is None: new = _open(newn, "Unable to open %s" % newn) if not old or not new: -- 2.47.3