Debian Codegraph @

debian/patches/python3.12-syntax.patch

raw symbols SCIP
1 Description: Fix Python3.12 string syntax
2 Bug-Debian: https://bugs.debian.org/1087041
3 Author: Andreas Tille <[email protected]>
4 Last-Update: 2024-06-11
5
6 --- a/readucks/misc.py
7 +++ b/readucks/misc.py
8 @@ -224,7 +224,7 @@ def print_table(table, print_dest, align
9 for text, colour_name in sub_colour.items():
10 row_str = row_str.replace(text, colour(text, colour_name))
11 if j < row_rows - 1 and UNDERLINE in row_str:
12 - row_str = re.sub('\033\[4m', '', row_str)
13 + row_str = re.sub(r'\033\[4m', '', row_str)
14 if return_str:
15 full_table_str += indenter + row_str + '\n'
16 else: