Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Sight
sight-doc
Commits
8c285e90
Commit
8c285e90
authored
Apr 04, 2016
by
Frederic Champ
Browse files
Fixed crash due to 'NoneType' of nodes.definition_list_item().line
--HG-- branch : fw4spl_0.10.2
parent
bb8f4467
Changes
1
Hide whitespace changes
Inline
Side-by-side
extensions/axiom.py
View file @
8c285e90
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment