aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2020-12-13 11:50:46 +0100
committerDavid Faure <faure@kde.org>2020-12-13 11:51:10 +0100
commit1c9ca43e12a9c09c94b87d1c494823b3c5d7798a (patch)
treeeaa04cfd7ab6795cb1d83be23e3a01fcb3241200 /docs
parent0d0e85db1d62ae59b781b60f6c5b69b6ae7bd2e0 (diff)
downloadextra-cmake-modules-1c9ca43e12a9c09c94b87d1c494823b3c5d7798a.tar.gz
extra-cmake-modules-1c9ca43e12a9c09c94b87d1c494823b3c5d7798a.tar.bz2
Fix errors in python code, found by pylama in a strict CI
Diffstat (limited to 'docs')
-rw-r--r--docs/sphinx/ext/ecm.py2
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?).' %