From ec8bb95b625204d109870d7766e30b8b05b1c55d Mon Sep 17 00:00:00 2001 From: Adrian Perez Date: Wed, 30 Nov 2011 22:41:11 +0200 Subject: [PATCH] doctool: Use spaces only for indentation Mixing tabs and spaces will make newer versions of Python to complain about indentation -- and by the way with good reason as it usually introduces subtle bugs. Therefore, make all the code use spaces. --- doc/tools/doctool | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/tools/doctool b/doc/tools/doctool index b98db3727..6088cdab3 100755 --- a/doc/tools/doctool +++ b/doc/tools/doctool @@ -135,10 +135,10 @@ class LaTeXStandaloneTranslator(latex2e.LaTeXTranslator): if self.d_class.document_class == "igaliabk": self.d_class.document_class = "book" - try: - del self.head_prefix[self.head_prefix.index(self.typearea)] - except AttributeError: - pass + try: + del self.head_prefix[self.head_prefix.index(self.typearea)] + except AttributeError: + pass def __get_typearea(self): if self._class == "igaliabk" or self._class.startswith("scr"):