svgui/pyjs/lib/pyjslib.py
changeset 2459 21164625b393
parent 2455 80b225e9a6b6
--- a/svgui/pyjs/lib/pyjslib.py	Fri Nov 23 11:01:20 2018 +0100
+++ b/svgui/pyjs/lib/pyjslib.py	Fri Nov 23 12:13:24 2018 +0100
@@ -12,7 +12,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-# pylint: disable=too-many-function-args,undefined-variable,no-absolute-import,assign-to-new-keyword
+# pylint: disable=too-many-function-args,undefined-variable,no-absolute-import,assign-to-new-keyword,nonzero-method,next-method-called,next-method-defined
 
 # iteration from Bob Ippolito's Iteration in JavaScript
 
@@ -285,7 +285,7 @@
         return "AttributeError: %s of %s" % (self.args[1], self.args[0])
 
 
-JS("""
+JS(r"""
 pyjslib.StopIteration = function () { };
 pyjslib.StopIteration.prototype = new Error();
 pyjslib.StopIteration.name = 'StopIteration';