diff options
Diffstat (limited to 'docs/sphinx/ext/ecm.py')
-rw-r--r-- | docs/sphinx/ext/ecm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/sphinx/ext/ecm.py b/docs/sphinx/ext/ecm.py index 2bab34a7..8667b367 100644 --- a/docs/sphinx/ext/ecm.py +++ b/docs/sphinx/ext/ecm.py @@ -76,7 +76,7 @@ class ECMModule(Directive): settings.record_dependencies.add(path) f = io.FileInput(source_path=path, encoding=encoding, error_handler=e_handler) - except UnicodeEncodeError as error: + except UnicodeEncodeError: raise self.severe('Problems with "%s" directive path:\n' 'Cannot encode input file path "%s" ' '(wrong locale?).' % |