Switch SSO URL to login.ubuntu.com
It's the same site, but login.ubuntu.com is the 'real' one and
launchpad.net is an alias. login.launchpad.net seems to be less
important to the admins.
Change-Id: Ic3a68886fb846699860a58ea76c16f2749f05897
diff --git a/jeepyb/cmd/update_bug.py b/jeepyb/cmd/update_bug.py
index 5f457f5..aaf19b8 100644
--- a/jeepyb/cmd/update_bug.py
+++ b/jeepyb/cmd/update_bug.py
@@ -100,7 +100,7 @@
# +-----------------+-----------------------------------------+
# | email_address | external_id |
# +-----------------+-----------------------------------------+
- # | plugh@xyzzy.com | https://login.launchpad.net/+id/fR0bnU1 |
+ # | plugh@xyzzy.com | https://login.ubuntu.com/+id/fR0bnU1 |
# | bar@foo.org | mailto:bar@foo.org |
# | NULL | username:quux |
# +-----------------+-----------------------------------------+
@@ -112,7 +112,7 @@
SELECT t.account_id FROM account_external_ids t
WHERE t.email_address = %s )
original ON t.account_id = original.account_id
- AND t.external_id LIKE 'https://login.launchpad.net%%'"""
+ AND t.external_id LIKE 'https://login.ubuntu.com%%'"""
cursor = jeepyb.gerritdb.connect().cursor()
cursor.execute(query, searchkey)