Skip to content

Commit

Permalink
Add a clear method boundary
Browse files Browse the repository at this point in the history
  • Loading branch information
hroncok authored and m-blaha committed May 12, 2022
1 parent 8f304e6 commit cda67a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dnf/cli/term.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ def sub(self, haystack, beg, end, needles, escape=None, ignore_case=False):
flags = re.I if ignore_case else 0
haystack = re.sub(pat, render, haystack, flags=flags)
return haystack

def sub_norm(self, haystack, beg, needles, **kwds):
"""Search the string *haystack* for all occurrences of any
string in the list *needles*. Prefix each occurrence with
Expand Down

0 comments on commit cda67a0

Please sign in to comment.