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:
parent
fbd01b9d8b
commit
ec8bb95b62
1 changed files with 4 additions and 4 deletions
|
|
@ -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"):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue