--- Werkzeug-0.11.15/werkzeug/contrib/lint.py.orig 2016-12-30 23:48:20.000000000 +0100 +++ Werkzeug-0.11.15/werkzeug/contrib/lint.py 2017-03-06 15:38:39.361757764 +0100 @@ -19,7 +19,12 @@ :copyright: (c) 2014 by the Werkzeug Team, see AUTHORS for more details. :license: BSD, see LICENSE for more details. """ -from urlparse import urlparse +try: + from urlparse import urlparse +except: + # py3 + from urllib.parse import urlparse + from warnings import warn from werkzeug.datastructures import Headers