Skip to content

Commit

Permalink
make it work with lxml 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Behnel committed Mar 11, 2008
1 parent d217202 commit 7bf3663
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mathml/lmathdom.py
Expand Up @@ -640,7 +640,7 @@ def _prepare_mathml_classes():

def _register_mathml_classes(parser):
lookup = _etree.ElementNamespaceClassLookup()
parser.setElementClassLookup(lookup)
parser.set_element_class_lookup(lookup)

lxml_math_namespace = lookup.get_namespace(MATHML_NAMESPACE_URI)
lxml_math_namespace.update(_all_mathml_classes)
Expand Down

0 comments on commit 7bf3663

Please sign in to comment.