summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMartin <martin.basti@gmail.com>2016-07-02 03:37:33 +0200
committerMartin <martin.basti@gmail.com>2016-07-02 03:37:33 +0200
commitdade35289dc6bb58078821dc34c385b5af5a4f54 (patch)
treeea2251f57d067593623efdce7b5a0ddacf67a201 /examples
parent2399f2115b85bf9d5fa2378cd426ad47886c5961 (diff)
downloaddnspython-dade35289dc6bb58078821dc34c385b5af5a4f54.tar.gz
Pylint: examples: fix singleton comparison
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/zonediff.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/zonediff.py b/examples/zonediff.py
index 641c0ef..f388c17 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: