diff options
author | Stefan H. Holek <stefan@epy.co.at> | 2012-10-26 02:10:48 +0200 |
---|---|---|
committer | Stefan H. Holek <stefan@epy.co.at> | 2012-10-26 02:10:48 +0200 |
commit | f8481f4b522f0fbeafbb36a20dd105497f2623ac (patch) | |
tree | f4ca711b250b84bd37c5957c0aa97dd66441acb8 /setuptools/package_index.py | |
parent | 22882958087e20839daf0139a94f8411d17d6a2c (diff) | |
download | external_python_setuptools-f8481f4b522f0fbeafbb36a20dd105497f2623ac.tar.gz external_python_setuptools-f8481f4b522f0fbeafbb36a20dd105497f2623ac.tar.bz2 external_python_setuptools-f8481f4b522f0fbeafbb36a20dd105497f2623ac.zip |
This one also failed on Windows.
--HG--
branch : distribute
extra : rebase_source : c26a4318302d55dfdd67d379525e84172b440b82
Diffstat (limited to 'setuptools/package_index.py')
-rwxr-xr-x | setuptools/package_index.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/setuptools/package_index.py b/setuptools/package_index.py index 7a954e21..0ee21e3b 100755 --- a/setuptools/package_index.py +++ b/setuptools/package_index.py @@ -834,9 +834,8 @@ def open_with_auth(url): # Double scheme does not raise on Mac OS X as revealed by a # failing test. We would expect "nonnumeric port". Refs #20. - if sys.platform == 'darwin': - if netloc.endswith(':'): - raise httplib.InvalidURL("nonnumeric port: ''") + if netloc.endswith(':'): + raise httplib.InvalidURL("nonnumeric port: ''") if scheme in ('http', 'https'): auth, host = urllib2.splituser(netloc) |