diff options
author | Alexander Shorin <kxepal@apache.org> | 2013-10-28 06:15:45 +0400 |
---|---|---|
committer | Alexander Shorin <kxepal@apache.org> | 2013-10-28 06:15:45 +0400 |
commit | 89caf5548dd77b7db8d68194c7c43277172ebec8 (patch) | |
tree | c21f3cceae0e58e8e4a8b0a6256d791d5032e080 | |
parent | cdfe56e3cdaff1c87a654de94ff3f0c4c686b591 (diff) | |
download | python-json-patch-89caf5548dd77b7db8d68194c7c43277172ebec8.tar.gz |
Fix some pylint warnings for Python 2.x
-rw-r--r-- | jsonpatch.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jsonpatch.py b/jsonpatch.py index 6717e28..48f27e5 100644 --- a/jsonpatch.py +++ b/jsonpatch.py @@ -49,12 +49,12 @@ __version__ = '1.3' __website__ = 'https://github.com/stefankoegl/python-json-patch' __license__ = 'Modified BSD License' + +# pylint: disable=E0611,W0404 if sys.version_info >= (3, 0): - basestring = (bytes, str) # pylint: disable=C0103 - # pylint: disable=E0611 + basestring = (bytes, str) # pylint: disable=C0103,W0622 from itertools import zip_longest else: - # pylint: disable=E0611,W0404 from itertools import izip_longest as zip_longest |