Use import from six.moves to import the HTMLParser module

The name of the HTMLParser module is html.parser instead of
HTMLParser in Python3.

Change-Id: Iaedf03e2e6fc03f1d86818fdae9ec7a95e5f7512
This commit is contained in:
Christian Berendt 2014-06-10 16:29:16 +02:00
parent 17123afde0
commit d329ded5ac
1 changed files with 2 additions and 1 deletions

View File

@ -10,9 +10,10 @@
# License for the specific language governing permissions and limitations
# under the License.
import HTMLParser as _HTMLParser
import re
from six.moves import html_parser as _HTMLParser
def parse_starttag_patched(self, i):
"""This method is a patched version of the parse_starttag method from