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
1diff --git a/lib/lp/app/browser/stringformatter.py b/lib/lp/app/browser/stringformatter.py
2index 79913d5..62a1571 100644
3--- a/lib/lp/app/browser/stringformatter.py
4+++ b/lib/lp/app/browser/stringformatter.py
5@@ -134,7 +134,7 @@ def add_word_breaks(word):
6 any HTML tags.
7
8 Breaks are inserted at least every 7 to 15 characters,
9- preferably after puctuation.
10+ preferably after punctuation.
11 """
12 broken = []
13 pos = 0
14@@ -228,7 +228,7 @@ def linkify_bug_numbers(text):
15 # string:
16 # "LP: #9, #999"
17 # replacing #9 with some HTML would also interfere with
18- # #999. The liklihood of this happening is very, very
19+ # #999. The likelihood of this happening is very, very
20 # small, however.
21 text = text.replace(
22 replace_text, FormattersAPI._linkify_substitution(bug_match)

Subscribers

People subscribed via source and target branches

to status/vote changes: