diff options
author | Martin <martin.basti@gmail.com> | 2016-07-02 03:37:33 +0200 |
---|---|---|
committer | Martin <martin.basti@gmail.com> | 2016-07-02 03:37:33 +0200 |
commit | dade35289dc6bb58078821dc34c385b5af5a4f54 (patch) | |
tree | ea2251f57d067593623efdce7b5a0ddacf67a201 /examples | |
parent | 2399f2115b85bf9d5fa2378cd426ad47886c5961 (diff) | |
download | dnspython-dade35289dc6bb58078821dc34c385b5af5a4f54.tar.gz |
Pylint: examples: fix singleton comparison
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/zonediff.py | 2 |
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: |