##// END OF EJS Templates
Fixing attribute access.
Brian E. Granger -
Show More
@@ -51,7 +51,7 b' def _process_node_cite(node):'
51 """Do the citation replacement as we walk the lxml tree."""
51 """Do the citation replacement as we walk the lxml tree."""
52
52
53 def _get(o, name):
53 def _get(o, name):
54 value = getattr(o, name)
54 value = getattr(o, name, None)
55 return '' if value is None else value
55 return '' if value is None else value
56
56
57 if 'data-cite' in node.attrib:
57 if 'data-cite' in node.attrib:
General Comments 0
You need to be logged in to leave comments. Login now