Skip to content

Commit 89caf55

Browse files
committed
Fix some pylint warnings for Python 2.x
1 parent cdfe56e commit 89caf55

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

jsonpatch.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@
4949
__website__ = 'https://github.com/stefankoegl/python-json-patch'
5050
__license__ = 'Modified BSD License'
5151

52+
53+
# pylint: disable=E0611,W0404
5254
if sys.version_info >= (3, 0):
53-
basestring = (bytes, str) # pylint: disable=C0103
54-
# pylint: disable=E0611
55+
basestring = (bytes, str) # pylint: disable=C0103,W0622
5556
from itertools import zip_longest
5657
else:
57-
# pylint: disable=E0611,W0404
5858
from itertools import izip_longest as zip_longest
5959

6060

0 commit comments

Comments
 (0)