Skip to content

Commit

Permalink
Merge pull request #4632 from Flamefire/dots-removal
Browse files Browse the repository at this point in the history
Remove trailing dots from backup message.
  • Loading branch information
boegel authored Sep 12, 2024
2 parents 29c3e60 + c55e2d8 commit 3475f9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion easybuild/framework/easyblock.py
Original file line number Diff line number Diff line change
Expand Up @@ -4720,7 +4720,7 @@ def make_checksum_lines(checksums, indent_level):

# back up easyconfig file before injecting checksums
ec_backup = back_up_file(ec['spec'])
print_msg("backup of easyconfig file saved to %s..." % ec_backup, log=_log)
print_msg("backup of easyconfig file saved to %s" % ec_backup, log=_log)

# compute & inject checksums for sources/patches
print_msg("injecting %s checksums for sources & patches in %s..." % (checksum_type, ec_fn), log=_log)
Expand Down
4 changes: 2 additions & 2 deletions test/framework/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -6070,7 +6070,7 @@ def test_inject_checksums(self):
patterns = [
r"^== injecting sha256 checksums in .*/test\.eb$",
r"^== fetching sources & patches for test\.eb\.\.\.$",
r"^== backup of easyconfig file saved to .*/test\.eb\.bak_[0-9]+_[0-9]+\.\.\.$",
r"^== backup of easyconfig file saved to .*/test\.eb\.bak_[0-9]+_[0-9]+$",
r"^== injecting sha256 checksums for sources & patches in test\.eb\.\.\.$",
r"^== \* toy-0.0\.tar\.gz: %s$" % toy_source_sha256,
r"^== \* toy-0\.0_fix-silly-typo-in-printf-statement\.patch: %s$" % toy_patch_sha256,
Expand Down Expand Up @@ -6198,7 +6198,7 @@ def test_inject_checksums(self):
patterns = [
r"^== injecting md5 checksums in .*/test\.eb$",
r"^== fetching sources & patches for test\.eb\.\.\.$",
r"^== backup of easyconfig file saved to .*/test\.eb\.bak_[0-9]+_[0-9]+\.\.\.$",
r"^== backup of easyconfig file saved to .*/test\.eb\.bak_[0-9]+_[0-9]+$",
r"^== injecting md5 checksums for sources & patches in test\.eb\.\.\.$",
r"^== \* toy-0.0\.tar\.gz: be662daa971a640e40be5c804d9d7d10$",
r"^== \* toy-0\.0_fix-silly-typo-in-printf-statement\.patch: a99f2a72cee1689a2f7e3ace0356efb1$",
Expand Down

0 comments on commit 3475f9d

Please sign in to comment.