Skip to content

Commit

Permalink
fix 4c69c72: missing string formatting on message
Browse files Browse the repository at this point in the history
  • Loading branch information
Salamandar committed Nov 16, 2024
1 parent e32bee4 commit 61fceb0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_configurations.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def systemd_config_specific_user(self):
try:
content = open(app.path + "/conf/" + filename).read()
except UnicodeDecodeError:
yield Info("%s does not look like a text file.")
yield Info("%s does not look like a text file." % filename)
continue
except Exception as e:
yield Warning("Can't open/read %s : %s" % (filename, e))
Expand Down Expand Up @@ -182,7 +182,7 @@ def php_config_specific_user(self):
try:
content = open(app.path + "/conf/" + filename).read()
except UnicodeDecodeError:
yield Info("%s does not look like a text file.")
yield Info("%s does not look like a text file." % filename)
continue
except Exception as e:
yield Warning("Can't open/read %s : %s" % (filename, e))
Expand Down Expand Up @@ -453,7 +453,7 @@ def bind_public_ip(self):
try:
content = open(os.path.join(path, filename)).read()
except UnicodeDecodeError:
yield Info("%s does not look like a text file.")
yield Info("%s does not look like a text file." % filename)
continue
except Exception as e:
yield Warning(
Expand Down

0 comments on commit 61fceb0

Please sign in to comment.