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.
This commit is contained in:
Adrian Perez 2011-11-30 22:41:11 +02:00 committed by Manuel Rego Casasnovas
parent fbd01b9d8b
commit ec8bb95b62

View file

@ -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"):