reverted wrong fix to canonicalize_url

--HG--
extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40434
This commit is contained in:
Pablo Hoffman 2008-11-26 17:55:03 +00:00
parent 0958eecfca
commit ce172e8520
1 changed files with 0 additions and 1 deletions

View File

@ -138,7 +138,6 @@ def canonicalize_url(url, keep_blank_values=False, keep_fragments=False):
For examples see the tests in scrapy.tests.test_utils_url
"""
url = str(url) # URLs *must* be a string; otherwise urllib may fail.
parts = list(urlparse.urlparse(url))
keyvals = cgi.parse_qsl(parts[4], keep_blank_values)
keyvals.sort()