From 89caf5548dd77b7db8d68194c7c43277172ebec8 Mon Sep 17 00:00:00 2001 From: Alexander Shorin Date: Mon, 28 Oct 2013 06:15:45 +0400 Subject: Fix some pylint warnings for Python 2.x --- jsonpatch.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'jsonpatch.py') 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 -- cgit v1.2.1