summaryrefslogtreecommitdiff
path: root/docutils/parsers/rst/directives/tables.py
diff options
context:
space:
mode:
Diffstat (limited to 'docutils/parsers/rst/directives/tables.py')
-rw-r--r--docutils/parsers/rst/directives/tables.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/docutils/parsers/rst/directives/tables.py b/docutils/parsers/rst/directives/tables.py
index fcf3c2b83..25b5f50d8 100644
--- a/docutils/parsers/rst/directives/tables.py
+++ b/docutils/parsers/rst/directives/tables.py
@@ -271,10 +271,10 @@ class CSVTable(Table):
try:
self.state.document.settings.record_dependencies.add(source)
csv_file = io.FileInput(
- source_path=source, encoding=encoding,
- error_handler=(self.state.document.settings.\
- input_encoding_error_handler),
- handle_io_errors=None)
+ source_path=source,
+ encoding=encoding,
+ error_handler=
+ self.state.document.settings.input_encoding_error_handler)
csv_data = csv_file.read().splitlines()
except IOError, error:
severe = self.state_machine.reporter.severe(