python3 support: pylint, W1611 # (standarderror-builtin) StandardError built-in referenced
--- 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
--- 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=