Merge ~jugmac00/launchpad:fix-typos-in-stringformatter into launchpad:master

Proposed by Jürgen Gmach
Status: Merged
Approved by: Jürgen Gmach
Approved revision: 21929472b6453feead2303b239d62f9ef3e0f1c7
Merge reported by: Otto Co-Pilot
Merged at revision: not available
Proposed branch: ~jugmac00/launchpad:fix-typos-in-stringformatter
Merge into: launchpad:master
Diff against target: 22 lines (+2/-2)
1 file modified
lib/lp/app/browser/stringformatter.py (+2/-2)
Reviewer Review Type Date Requested Status
Guruprasad Approve
Review via email: mp+448510@code.launchpad.net

Commit message

Fix typos in stringformatter.py

To post a comment you must log in.
Revision history for this message
Guruprasad (lgp171188) wrote :

LGTM 👍

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/lib/lp/app/browser/stringformatter.py b/lib/lp/app/browser/stringformatter.py
index 79913d5..62a1571 100644
--- a/lib/lp/app/browser/stringformatter.py
+++ b/lib/lp/app/browser/stringformatter.py
@@ -134,7 +134,7 @@ def add_word_breaks(word):
134 any HTML tags.134 any HTML tags.
135135
136 Breaks are inserted at least every 7 to 15 characters,136 Breaks are inserted at least every 7 to 15 characters,
137 preferably after puctuation.137 preferably after punctuation.
138 """138 """
139 broken = []139 broken = []
140 pos = 0140 pos = 0
@@ -228,7 +228,7 @@ def linkify_bug_numbers(text):
228 # string:228 # string:
229 # "LP: #9, #999"229 # "LP: #9, #999"
230 # replacing #9 with some HTML would also interfere with230 # replacing #9 with some HTML would also interfere with
231 # #999. The liklihood of this happening is very, very231 # #999. The likelihood of this happening is very, very
232 # small, however.232 # small, however.
233 text = text.replace(233 text = text.replace(
234 replace_text, FormattersAPI._linkify_substitution(bug_match)234 replace_text, FormattersAPI._linkify_substitution(bug_match)

Subscribers

People subscribed via source and target branches

to status/vote changes: