# HG changeset patch # User Andrey Skvortsov # Date 1539248944 -10800 # Node ID 6d1bf321fb891a136bc5d0238f208efd47dd1f4d # Parent 5024c19ca8f050a00f99870eedbb550fb99eb984 python3 support: pylint, W1611 # (standarderror-builtin) StandardError built-in referenced diff -r 5024c19ca8f0 -r 6d1bf321fb89 svgui/pyjs/build.py --- a/svgui/pyjs/build.py Thu Oct 11 12:00:40 2018 +0300 +++ b/svgui/pyjs/build.py Thu Oct 11 12:09:04 2018 +0300 @@ -184,7 +184,7 @@ try: print("Creating output directory") os.mkdir(output) - except StandardError as e: + except OSError as e: print("Exception creating output directory %s: %s" % (output, e), file=sys.stderr) # public dir diff -r 5024c19ca8f0 -r 6d1bf321fb89 tests/tools/check_source.sh --- a/tests/tools/check_source.sh Thu Oct 11 12:00:40 2018 +0300 +++ b/tests/tools/check_source.sh Thu Oct 11 12:09:04 2018 +0300 @@ -370,6 +370,7 @@ enable=$enable,W1649 # (deprecated-string-function) Accessing a deprecated function on the string module enable=$enable,W1651 # (deprecated-itertools-function) Accessing a deprecated function on the itertools module enable=$enable,W1652 # (deprecated-types-field) Accessing a deprecated fields on the types module + enable=$enable,W1611 # (standarderror-builtin) StandardError built-in referenced # enable= options=