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: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Andrea Bolognani 2018-03-15 17:53:13 +01:00
parent 3ee5a4ddf7
commit 9671ecfe5a

View File

@ -21,6 +21,8 @@
# Authors:
# Andrea Bolognani <abologna@redhat.com>
from __future__ import print_function
import sys
COLUMNS = 80