提交 9671ecfe 编写于 作者: A Andrea Bolognani

docs: Import print_function in reformat-news.py

The script already works perfectly fine with Python 2, but that's
more by chance than by design: we have a single occurrence of
print(), and it just so happens that its only argument is an
expression. Importing print_function makes the script more future,
err, past proof.
Signed-off-by: NAndrea Bolognani <abologna@redhat.com>
Reviewed-by: NDaniel P. Berrangé <berrange@redhat.com>
上级 3ee5a4dd
......@@ -21,6 +21,8 @@
# Authors:
# Andrea Bolognani <abologna@redhat.com>
from __future__ import print_function
import sys
COLUMNS = 80
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册