# HG changeset patch # User Denis Laxalde # Date 1530177070 -7200 # Node ID 1693730548ef0416fdef666abbf6c5348ade089f # Parent 45f9d93bba712769e98d22e2192603be159e9b4a [ext/rest] Drop "handle_io_errors" argument to docutils' FileInput This argument is deprecated and ignore in docutils since version 0.10. Besides, its default value is None which is the same as we passed. diff -r 45f9d93bba71 -r 1693730548ef cubicweb/ext/rest.py --- a/cubicweb/ext/rest.py Thu Jun 28 10:38:04 2018 +0200 +++ b/cubicweb/ext/rest.py Thu Jun 28 11:11:10 2018 +0200 @@ -229,7 +229,7 @@ include_file = io.FileInput( source_path=path, encoding=encoding, error_handler=state.document.settings.input_encoding_error_handler, - handle_io_errors=None) + ) except IOError as error: severe = state_machine.reporter.severe( 'Problems with "%s" directive path:\n%s: %s.'