Merge lp:~roadmr/canonical-identity-provider/fix-booboo into lp:canonical-identity-provider/release

Proposed by Daniel Manrique
Status: Merged
Approved by: Daniel Manrique
Approved revision: no longer in the source branch.
Merge reported by: Otto Co-Pilot
Merged at revision: not available
Proposed branch: lp:~roadmr/canonical-identity-provider/fix-booboo
Merge into: lp:canonical-identity-provider/release
Diff against target: 14 lines (+2/-2)
1 file modified
src/identityprovider/widgets.py (+2/-2)
To merge this branch: bzr merge lp:~roadmr/canonical-identity-provider/fix-booboo
Reviewer Review Type Date Requested Status
Maximiliano Bertacchini Approve
Review via email: mp+346987@code.launchpad.net

Commit message

Fix bad invocation of format_html

Description of the change

Fix bad invocation of format_html

To post a comment you must log in.
Revision history for this message
Maximiliano Bertacchini (maxiberta) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'src/identityprovider/widgets.py'
--- src/identityprovider/widgets.py 2018-05-25 20:41:26 +0000
+++ src/identityprovider/widgets.py 2018-05-28 17:10:30 +0000
@@ -22,8 +22,8 @@
2222
23def account_to_lp_link(account):23def account_to_lp_link(account):
24 if account and account.person:24 if account and account.person:
25 link = format_html('<a href="https://launchpad.net/~%s">%s</a>' %25 link = format_html('<a href="https://launchpad.net/~{}">{}</a>',
26 (account.person_name, account.person_name))26 account.person_name, account.person_name)
27 else:27 else:
28 link = format_html('')28 link = format_html('')
29 return link29 return link