Merge "Finish fixing account duplication on import"
This commit is contained in:
commit
82b83dbf1f
@ -120,8 +120,6 @@ class LaunchpadWriter(object):
|
|||||||
display_name = "Disabled Launchpad User"
|
display_name = "Disabled Launchpad User"
|
||||||
user_link = "000000000000000000000"
|
user_link = "000000000000000000000"
|
||||||
|
|
||||||
user_link.replace('login.launchpad.net', 'login.ubuntu.com')
|
|
||||||
|
|
||||||
# Resolve the openid.
|
# Resolve the openid.
|
||||||
if user_link not in self._openid_map:
|
if user_link not in self._openid_map:
|
||||||
try:
|
try:
|
||||||
@ -130,6 +128,8 @@ class LaunchpadWriter(object):
|
|||||||
None)
|
None)
|
||||||
openid_request = openid_consumer.begin(user_link)
|
openid_request = openid_consumer.begin(user_link)
|
||||||
openid = openid_request.endpoint.getLocalID()
|
openid = openid_request.endpoint.getLocalID()
|
||||||
|
openid = openid.replace(
|
||||||
|
'login.launchpad.net', 'login.ubuntu.com')
|
||||||
|
|
||||||
self._openid_map[user_link] = openid
|
self._openid_map[user_link] = openid
|
||||||
except DiscoveryFailure:
|
except DiscoveryFailure:
|
||||||
|
Loading…
Reference in New Issue
Block a user