summaryrefslogtreecommitdiffstats
path: root/doc/tools/make_rst.py
diff options
context:
space:
mode:
Diffstat (limited to 'doc/tools/make_rst.py')
-rwxr-xr-xdoc/tools/make_rst.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/doc/tools/make_rst.py b/doc/tools/make_rst.py
index 7cc05087b7..0649a0bb62 100755
--- a/doc/tools/make_rst.py
+++ b/doc/tools/make_rst.py
@@ -1466,7 +1466,6 @@ def make_link(url: str, title: str) -> str:
def make_rst_index(grouped_classes: Dict[str, List[str]], dry_run: bool, output_dir: str) -> None:
-
if dry_run:
f = open(os.devnull, "w", encoding="utf-8")
else: