Commit 8c285e90 authored by Frederic Champ's avatar Frederic Champ
Browse files

Fixed crash due to 'NoneType' of nodes.definition_list_item().line

--HG--
branch : fw4spl_0.10.2
parent bb8f4467
......@@ -28,6 +28,9 @@ class AxiomDirective(Directive):
def_list = nodes.definition_list()
def_item = nodes.definition_list_item()
lineno = self.state_machine.abs_line_number() - 1
def_item.line = lineno
term = nodes.term()
def_text = nodes.Text( self.tag_name + str(" %d") % self.__class__.count)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment