mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
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:
parent
3ee5a4ddf7
commit
9671ecfe5a
@ -21,6 +21,8 @@
|
|||||||
# Authors:
|
# Authors:
|
||||||
# Andrea Bolognani <abologna@redhat.com>
|
# Andrea Bolognani <abologna@redhat.com>
|
||||||
|
|
||||||
|
from __future__ import print_function
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
COLUMNS = 80
|
COLUMNS = 80
|
||||||
|
Loading…
Reference in New Issue
Block a user