# HG changeset patch # User Andrey Skvortsov # Date 1539156967 -10800 # Node ID 4f7abbc8506f7b17c5383d577772c9d811116d9d # Parent 235f847be37e1172d6a6f16176576922fb80c87a python3 support: pylint,W1602 # (basestring-builtin) basestring built-in referenced diff -r 235f847be37e -r 4f7abbc8506f svgui/pyjs/pyjs.py --- a/svgui/pyjs/pyjs.py Wed Oct 10 10:32:57 2018 +0300 +++ b/svgui/pyjs/pyjs.py Wed Oct 10 10:36:07 2018 +0300 @@ -23,6 +23,7 @@ import os import copy from builtins import str as text +from past.builtins import basestring from six.moves import cStringIO # the standard location for builtins (e.g. pyjslib) can be diff -r 235f847be37e -r 4f7abbc8506f tests/tools/check_source.sh --- a/tests/tools/check_source.sh Wed Oct 10 10:32:57 2018 +0300 +++ b/tests/tools/check_source.sh Wed Oct 10 10:36:07 2018 +0300 @@ -364,6 +364,7 @@ enable=$enable,W1607 # (file-builtin) file built-in referenced enable=$enable,W1606 # (execfile-builtin) execfile built-in referenced enable=$enable,W1629 # (nonzero-method) __nonzero__ method defined + enable=$enable,W1602 # (basestring-builtin) basestring built-in referenced # enable= options=