未验证 提交 4dabb440 编写于 作者: A Ansgar

rm: remove leading and trailing whitespace from removal reason

It looks like some removal records had trailing whitespace which
confuses users of the deb822 file.

Reference: https://bugs.debian.org/960504
上级 ad38617c
......@@ -366,6 +366,7 @@ def remove(session, reason, suites, removals,
if not reason:
raise ValueError("Empty removal reason not permitted")
reason = reason.strip()
if not removals:
raise ValueError("Nothing to remove!?")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册