]>
Commit | Line | Data |
---|---|---|
7c90b45b JB |
1 | --- Werkzeug-0.11.15/werkzeug/contrib/lint.py.orig 2016-12-30 23:48:20.000000000 +0100 |
2 | +++ Werkzeug-0.11.15/werkzeug/contrib/lint.py 2017-03-06 15:38:39.361757764 +0100 | |
3 | @@ -19,7 +19,12 @@ | |
4 | :copyright: (c) 2014 by the Werkzeug Team, see AUTHORS for more details. | |
5 | :license: BSD, see LICENSE for more details. | |
6 | """ | |
7 | -from urlparse import urlparse | |
8 | +try: | |
9 | + from urlparse import urlparse | |
10 | +except: | |
11 | + # py3 | |
12 | + from urllib.parse import urlparse | |
13 | + | |
14 | from warnings import warn | |
15 | ||
16 | from werkzeug.datastructures import Headers |