Skip to content

Commit

Permalink
Rename treewalkers.lxmletree to .etree_lxml for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
gsnedders committed Jul 13, 2016
1 parent 1a61c44 commit 8db5828
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions html5lib/treewalkers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from .. import constants
from ..utils import default_etree

__all__ = ["getTreeWalker", "pprint", "dom", "etree", "genshi", "lxmletree"]
__all__ = ["getTreeWalker", "pprint", "dom", "etree", "genshi", "etree_lxml"]

treeWalkerCache = {}

Expand Down Expand Up @@ -46,8 +46,8 @@ def getTreeWalker(treeType, implementation=None, **kwargs):
from . import genshi
treeWalkerCache[treeType] = genshi.TreeWalker
elif treeType == "lxml":
from . import lxmletree
treeWalkerCache[treeType] = lxmletree.TreeWalker
from . import etree_lxml
treeWalkerCache[treeType] = etree_lxml.TreeWalker
elif treeType == "etree":
from . import etree
if implementation is None:
Expand Down
File renamed without changes.

0 comments on commit 8db5828

Please sign in to comment.