Skip to content

Commit

Permalink
Fix invalid escape sequences again :grim:
Browse files Browse the repository at this point in the history
  • Loading branch information
alexAubin committed Jun 23, 2024
1 parent 3c33344 commit a777eb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/helpers2.1/convert_to_helpers_2.1.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def cleanup():
(r"ynh_compare_current_package_version.*lt.*version\s?=?\"?([0-9\.]+~ynh[0-9])\"?", "ynh_app_upgrading_from_version_before \\1"),
(r"ynh_compare_current_package_version.*le.*version\s?=?\"?([0-9\.]+~ynh[0-9])\"?", "ynh_app_upgrading_from_version_before_or_equal_to \\1"),
(r"upgrade_type=\S*", ""),
('[\s+"?\$upgrade_type"?\s+==\s+"?UPGRADE_APP"? ]', "ynh_app_upstream_version_changed"),
(r'\[\s+"?\$upgrade_type"?\s+==\s+"?UPGRADE_APP"? \]', "ynh_app_upstream_version_changed"),
# Backup/store
(r"ynh_restore\s*$", "ynh_restore_everything"),
# -> Specific trick to remove the --not_mandatory here, but replace it with || true for the other occurences
Expand Down

0 comments on commit a777eb2

Please sign in to comment.