Skip to content

Commit

Permalink
Merge pull request #9 from plesk/fix-unbalanced-parenthesis
Browse files Browse the repository at this point in the history
Remove extra '\' in the regular expression for repository adoption
  • Loading branch information
SandakovMM authored Oct 29, 2024
2 parents c432ebd + 125d8f6 commit 8fb2fdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ubuntu18to20/upgrader.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def construct_actions(
'\g<1>://\g<2>/\g<3>20.04\g<4>',
),
actions.ReplaceAptReposRegexp(
r'(http|https)://([^/]+)/(.*\b)18\(\b.*)',
r'(http|https)://([^/]+)/(.*\b)18(\b.*)',
'\g<1>://\g<2>/\g<3>20\g<4>',
),
],
Expand Down

0 comments on commit 8fb2fdf

Please sign in to comment.