Commit d36c067b authored by guyroz's avatar guyroz

Issue #246

--HG--
branch : distribute
extra : rebase_source : e14172505ff8938f00f51de4f29a8fb2834ac933
parent ae7bd543
[egg_info] [egg_info]
tag_build = dev tag_build =
tag_svn_revision = 1 tag_svn_revision = 1
[aliases] [aliases]
......
...@@ -228,8 +228,10 @@ if sys.version >= "2.5": ...@@ -228,8 +228,10 @@ if sys.version >= "2.5":
current[key] = config.get(server, key) current[key] = config.get(server, key)
else: else:
current[key] = default current[key] = default
# Issue #246, handling url ambiguity
if (current['server'] == repository or if (current['server'] == repository or
current['repository'] == repository): current['repository'] == repository or
(current['repository'] == "http://www.python.org/pypi" and repository == self.DEFAULT_REPOSITORY)):
return current return current
elif 'server-login' in sections: elif 'server-login' in sections:
# old format # old format
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment