]> git.pld-linux.org Git - packages/python3-werkzeug.git/blame - python-werkzeug-py3.patch
- updated to 0.11.15
[packages/python3-werkzeug.git] / python-werkzeug-py3.patch
CommitLineData
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
This page took 0.117009 seconds and 4 git commands to generate.