0001-remove-obsolete-map-None.-usage-39914.patch
wcs/portfolio.py | ||
---|---|---|
130 | 130 |
url = request.form['url'] |
131 | 131 |
document = urlopen(request.form['url']).read() |
132 | 132 |
scheme, netloc, path, qs, frag = urlparse.urlsplit(url) |
133 |
path = map(None, path.split('/'))
|
|
133 |
path = path.split('/')
|
|
134 | 134 |
name = urllib.unquote(path[-1]) |
135 | 135 |
from .qommon.form import PicklableUpload |
136 | 136 |
download = PicklableUpload(name, content_type='application/pdf') |
137 |
- |