From e67ff52d845f99121402c6b9185265c989eccfa9 Mon Sep 17 00:00:00 2001 From: Ruby Loo Date: Tue, 15 Apr 2014 02:06:51 +0000 Subject: Format autoindex.rst file properly Fix the indentation of the lines following the "toctree" directive in the autoindex.rst file, so that they are aligned under the start of the "toctree" directive. Change-Id: Iff4ec8ea05819f6126a7be3d1fb5238c969fca21 Closes-Bug: #1307769 --- pbr/packaging.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pbr/packaging.py b/pbr/packaging.py index c4a5977..f01ce1e 100644 --- a/pbr/packaging.py +++ b/pbr/packaging.py @@ -669,9 +669,9 @@ try: autoindex_filename = os.path.join(source_dir, 'autoindex.rst') with open(autoindex_filename, 'w') as autoindex: autoindex.write(""".. toctree:: - :maxdepth: 1 + :maxdepth: 1 - """) +""") for module in module_list: output_filename = os.path.join(source_dir, "%s.rst" % module) -- cgit v1.2.1