[izpack-changes] r1926 - izpack-src/trunk/src/doc-reST
noreply at berlios.de
noreply at berlios.de
Thu Nov 29 23:35:20 CET 2007
Author: jponge
Date: 2007-11-29 23:35:17 +0100 (Thu, 29 Nov 2007)
New Revision: 1926
Modified:
izpack-src/trunk/src/doc-reST/build.py
Log:
Whitespace cleanups
Modified: izpack-src/trunk/src/doc-reST/build.py
===================================================================
--- izpack-src/trunk/src/doc-reST/build.py 2007-11-29 22:28:10 UTC (rev 1925)
+++ izpack-src/trunk/src/doc-reST/build.py 2007-11-29 22:35:17 UTC (rev 1926)
@@ -16,15 +16,15 @@
# ........................................................................... #
#
# IzPack - Copyright 2001-2007 Julien Ponge, All Rights Reserved.
-#
+#
# https://izpack.github.io/
# http://developer.berlios.de/projects/izpack/
-#
+#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
-#
+#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -42,7 +42,7 @@
def create_dirs():
print('Creating output directories...')
for d in ['html', 'pdf']:
- if not os.path.exists(d): os.makedirs(d)
+ if not os.path.exists(d): os.makedirs(d)
def scan_files():
print('Scanning files...')
@@ -62,7 +62,7 @@
for rest_file in rest_files:
print(' ' + rest_file)
publish(writer_name='html', argv=['%s.txt' % rest_file, 'html/%s.html' % rest_file])
-
+
def generate_latex():
print('Generating LaTeX for PDF output...')
publish(writer_name='newlatex2e', argv=['pdf-version.txt', 'pdf/manual.tex'])
@@ -80,7 +80,7 @@
parser.add_option("-n", "--no-pdflatex", dest="pdflatex", action="store_false",
default=True, help="don't call pdflatex")
options, args = parser.parse_args()
-
+
rest_files, pictures = scan_files()
create_dirs()
copy_files(pictures)
More information about the izpack-changes
mailing list