Annotate py3k code when needed.

This commit is contained in:
Alexis Métaireau 2013-01-11 18:55:04 +01:00
commit 149ca493e0
4 changed files with 7 additions and 2 deletions

View file

@ -4,9 +4,11 @@
from __future__ import unicode_literals, print_function
import argparse
try:
# py3k import
from html.parser import HTMLParser
except ImportError:
from HTMLParser import HTMLParser
# py2 import
from HTMLParser import HTMLParser # NOQA
import os
import subprocess
import sys