8000 Cleanup · awesome-python/html5lib-python@431faa1 · GitHub
[go: up one dir, main page]

Skip to content
10000

Commit 431faa1

Browse files
committed
Cleanup
--HG-- extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%40847
1 parent 668cd3a commit 431faa1

File tree

3 files changed

+1
-9
lines changed

3 files changed

+1
-9
lines changed

src/html5lib/treebuilders/dom.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
import _base
22
from xml.dom import minidom, Node, XML_NAMESPACE, XMLNS_NAMESPACE
3-
import new
4-
from xml.sax.saxutils import escape
5-
from html5lib.constants import voidElements
63

74
import re
85
illegal_xml_chars = re.compile("[\x01-\x08\x0B\x0C\x0E-\x1F]")

src/html5lib/treebuilders/etree.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import _base
22
import new
3-
import copy
43

54
moduleCache = {}
65

@@ -246,4 +245,4 @@ def getDocument(self):
246245
def getFragment(self):
247246
return _base.TreeBuilder.getFragment(self)._element
248247

249-
return locals()
248+
return locals()

src/html5lib/treebuilders/soup.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
2-
import sys
3-
import copy
4-
51
from BeautifulSoup import BeautifulSoup, Tag, NavigableString, Comment, Declaration
62

73
import _base

0 commit comments

Comments
 (0)
0