Commits

Jason R. Coombs  committed 9e55ccc

Suppress import errors on Python 3

  • Participants
  • Parent commits b9ef759

Comments (0)

Files changed (1)

File jaraco/develop/trackers.py

 
 from __future__ import absolute_import
 
-import html5lib
-import html5lib.treebuilders
 import re
 import itertools
 import urlparse
 import urllib2
 
+try:
+	import html5lib.treebuilders
+except ImportError:
+	#html5lib not available on Python 3 so suppress import errors
+	pass
+
 from .patch import Patch
 
 class RoundupTracker(object):