Reformatted code base using black.
This commit is contained in:
parent
56319cbad3
commit
53fdaa9d09
1 changed files with 12604 additions and 8966 deletions
|
|
@ -57,6 +57,7 @@ def add_url_to_text(string, new_target=True):
|
|||
@param string (unicode): text to process
|
||||
@param new_target (bool): if True, make the link open in a new window
|
||||
"""
|
||||
|
||||
# XXX: report any change to libervia.browser.strings.add_url_to_text
|
||||
def repl(match):
|
||||
url = match.group(0)
|
||||
|
|
@ -73,6 +74,7 @@ def add_url_to_image(string):
|
|||
|
||||
@param string (unicode): text to process
|
||||
"""
|
||||
|
||||
# XXX: report any change to libervia.browser.strings.add_url_to_image
|
||||
def repl(match):
|
||||
url = match.group(1)
|
||||
|
|
|
|||
Loading…
Reference in a new issue