lab.nexedi.com will be down from Thursday, 20 March 2025, 07:30:00 UTC for a duration of approximately 2 hours

Commit cfbae90f authored by Peter Müller's avatar Peter Müller Committed by Michael Tremer

location.in: strip trailing whitespaces in database description while dumping

Signed-off-by: default avatarPeter Müller <peter.mueller@ipfire.org>
Signed-off-by: default avatarMichael Tremer <michael.tremer@ipfire.org>
parent 90acee01
......@@ -321,7 +321,8 @@ class CLI(object):
if db.description:
for line in db.description.splitlines():
f.write("# %s\n" % line)
line = "# %s" % line
f.write("%s\n" % line.rstrip())
f.write("#\n")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment