Finish sentences with a period
This commit is contained in:
parent
2e6f0c22ea
commit
aeef59bbf3
@ -67,8 +67,8 @@ if __name__ == "__main__":
|
||||
updated.add(image)
|
||||
|
||||
if updated:
|
||||
print(f"The following images have been updated: {', '.join(updated)}")
|
||||
print(f"The following images have been updated: {', '.join(updated)}.")
|
||||
restart = functools.reduce(lambda x, y: x + y, [units[image] for image in updated])
|
||||
|
||||
print(f"The following units will be restarted: {', '.join(restart)}")
|
||||
print(f"The following units will be restarted: {', '.join(restart)}.")
|
||||
subprocess.run(["systemctl", "--user", "restart"] + restart, check=True)
|
||||
|
Loading…
Reference in New Issue
Block a user