diff options
| author | coqbot-app[bot] | 2020-12-28 16:47:16 +0000 |
|---|---|---|
| committer | GitHub | 2020-12-28 16:47:16 +0000 |
| commit | 942fb01934b02181fd3a88d80fc870f8d4900d2c (patch) | |
| tree | 249a05c091ff076492e63739bc05038efe244b9a /doc/tools | |
| parent | ba0a277568182c205ad411986598632bb341f2d9 (diff) | |
| parent | 6e2b31ab0ec22c04f8987b4eb54d6ba7bbdee4c4 (diff) | |
Merge PR #13665: Set Python's default output encoding to utf-8
Reviewed-by: Zimmi48
Ack-by: palmskog
Diffstat (limited to 'doc/tools')
| -rw-r--r-- | doc/tools/coqrst/coqdomain.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/doc/tools/coqrst/coqdomain.py b/doc/tools/coqrst/coqdomain.py index 8f642df8fd..35243b5d7d 100644 --- a/doc/tools/coqrst/coqdomain.py +++ b/doc/tools/coqrst/coqdomain.py @@ -220,10 +220,7 @@ class CoqObject(ObjectDescription): # todo: then maybe the above "if" is not needed names_in_subdomain = self.subdomain_data() if name in names_in_subdomain: - try: - print("Duplicate", self.subdomain, "name: ", name) - except UnicodeEncodeError: # in CI - print("*** UnicodeEncodeError") + print("Duplicate", self.subdomain, "name: ", name) # self._warn_if_duplicate_name(names_in_subdomain, name, signode) return targetid |
