From 3c009f3ff45d89a703bc833c900e06a79b32f1c1 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Mon, 19 Nov 2018 15:49:28 +0100 Subject: Coding style Fix a few random issues pointed out by pylint, mainly unused imports. --- crocoite/html.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'crocoite/html.py') diff --git a/crocoite/html.py b/crocoite/html.py index c929a10..fec9760 100644 --- a/crocoite/html.py +++ b/crocoite/html.py @@ -22,6 +22,10 @@ HTML helper """ +from html5lib.treewalkers.base import TreeWalker +from html5lib.filters.base import Filter +from html5lib import constants + # HTML void tags, see https://html.spec.whatwg.org/multipage/syntax.html#void-elements voidTags = {'area', 'base', @@ -103,10 +107,6 @@ eventAttributes = {'onabort', 'onvolumechange', 'onwaiting'} -from html5lib.treewalkers.base import TreeWalker -from html5lib.filters.base import Filter -from html5lib import constants - class ChromeTreeWalker (TreeWalker): """ Recursive html5lib TreeWalker for Google Chrome method DOM.getDocument -- cgit v1.2.3