drop "from __future__ import print_function"

This is only needed for Python 2, which we do not support anymore.

Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Acked-by: Alex Bennée <alex.bennee@linaro.org>
Acked-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20200204160604.19883-1-pbonzini@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
This commit is contained in:
Paolo Bonzini 2020-02-04 17:06:04 +01:00 committed by Philippe Mathieu-Daudé
parent 6dd360ce3f
commit 423edd9a31
34 changed files with 0 additions and 34 deletions

View File

@ -3,7 +3,6 @@
# Usage: ./analyse-9p-simpletrace <trace-events> <trace-pid>
#
# Author: Harsh Prateek Bora
from __future__ import print_function
import os
import simpletrace

View File

@ -6,7 +6,6 @@
# Author: Alex Bennée <alex.bennee@linaro.org>
#
from __future__ import print_function
import simpletrace
import argparse
import numpy as np

View File

@ -23,7 +23,6 @@
Run QEMU with all combinations of -machine and -device types,
check for crashes and unexpected errors.
"""
from __future__ import print_function
import os
import sys

View File

@ -12,7 +12,6 @@ Authors:
This work is licensed under the terms of the GNU GPL, version 2 or later. See
the COPYING file in the top-level directory.
"""
from __future__ import print_function
import ctypes
import struct

View File

@ -32,7 +32,6 @@
# consuming CPU cycles. No disk I/O is performed since the ring buffer holds a
# fixed-size in-memory trace.
from __future__ import print_function
import sys
import os

View File

@ -10,7 +10,6 @@
# This work is licensed under the terms of the GNU GPL, version 2. See
# the COPYING file in the top-level directory.
from __future__ import print_function
MSR_IA32_VMX_BASIC = 0x480
MSR_IA32_VMX_PINBASED_CTLS = 0x481
MSR_IA32_VMX_PROCBASED_CTLS = 0x482

View File

@ -11,7 +11,6 @@
# or, at your option, any later version. See the COPYING file in
# the top-level directory.
from __future__ import print_function
import os
import sys
import re

View File

@ -10,7 +10,6 @@
# This work is licensed under the terms of the GNU GPL, version 2.
# See the COPYING file in the top-level directory.
from __future__ import print_function
import sys
import os

View File

@ -4,7 +4,6 @@
# This work is licensed under the terms of the GNU GPL, version 2 or later.
# See the COPYING file in the top-level directory.
from __future__ import print_function
import argparse
import re

View File

@ -4,7 +4,6 @@
# See the COPYING file in the top-level directory.
"""This script produces the documentation of a qapi schema in texinfo format"""
from __future__ import print_function
import re
from qapi.gen import QAPIGenDoc, QAPISchemaVisitor

View File

@ -36,7 +36,6 @@
# See also: https://wiki.qemu.org/Features/QAPI/GuestAgent
#
from __future__ import print_function
import os
import sys
import base64

View File

@ -10,7 +10,6 @@
# This work is licensed under the terms of the GNU GPLv2 or later.
# See the COPYING file in the top-level directory.
from __future__ import print_function
import sys, os
from qmp import QEMUMonitorProtocol

View File

@ -65,7 +65,6 @@
# which will echo back the properly formatted JSON-compliant QMP that is being
# sent to QEMU, which is useful for debugging and documentation generation.
from __future__ import print_function
import json
import ast
import readline

View File

@ -11,7 +11,6 @@
# the COPYING file in the top-level directory.
##
from __future__ import print_function
import sys
import os
from qmp import QEMUMonitorProtocol

View File

@ -11,7 +11,6 @@
# the COPYING file in the top-level directory.
##
from __future__ import print_function
import sys
import os
from qmp import QEMUMonitorProtocol

View File

@ -11,7 +11,6 @@
# the COPYING file in the top-level directory.
##
from __future__ import print_function
import sys
import os
from qmp import QEMUMonitorProtocol

View File

@ -13,7 +13,6 @@
# the COPYING file in the top-level directory.
##
from __future__ import print_function
import sys
import os
from qmp import QEMUMonitorProtocol

View File

@ -18,7 +18,6 @@
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, see <http://www.gnu.org/licenses/>.
from __future__ import print_function
import argparse
import struct
from collections import namedtuple

View File

@ -1,6 +1,5 @@
#!/usr/bin/env python3
from __future__ import print_function
#
# Option ROM signing utility
#

View File

@ -9,7 +9,6 @@
#
# For help see docs/devel/tracing.txt
from __future__ import print_function
import struct
import inspect
from tracetool import read_events, Event

View File

@ -19,7 +19,6 @@
# You should have received a copy of the GNU General Public License along
# with this program; if not, see <http://www.gnu.org/licenses/>.
from __future__ import print_function
import argparse
import json
import sys

View File

@ -11,7 +11,6 @@
# or (at your option) any later version. See the COPYING file in
# the top-level directory.
from __future__ import print_function
import sys
import yaml
import itertools

View File

@ -1,4 +1,3 @@
from __future__ import print_function
#
# This script needs to be run on startup
# qemu -kernel ${KERNEL} -s -S

View File

@ -1,4 +1,3 @@
from __future__ import print_function
#
# Migration test main engine
#

View File

@ -1,4 +1,3 @@
from __future__ import print_function
#
# Migration test graph plotting
#

View File

@ -1,4 +1,3 @@
from __future__ import print_function
#
# Migration test command line shell integration
#

View File

@ -11,7 +11,6 @@
# See the COPYING file in the top-level directory.
#
from __future__ import print_function
import argparse
import difflib

View File

@ -20,7 +20,6 @@
# Exercise the QEMU 'luks' block driver to validate interoperability
# with the Linux dm-crypt + cryptsetup implementation
from __future__ import print_function
import subprocess
import os
import os.path

View File

@ -18,7 +18,6 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
from __future__ import print_function
import os
import re
import iotests

View File

@ -1,4 +1,3 @@
from __future__ import print_function
# Common utilities and Python wrappers for qemu-iotests
#
# Copyright (C) 2012 IBM Corp.

View File

@ -43,7 +43,6 @@
# This work is licensed under the terms of the GNU GPL, version 2 or later.
# See the COPYING file in the top-level directory.
from __future__ import print_function
import sys
import socket
import struct

View File

@ -1,6 +1,5 @@
#!/usr/bin/env python3
from __future__ import print_function
import sys
import struct
import string

View File

@ -10,7 +10,6 @@
# This work is licensed under the terms of the GNU GPL, version 2 or later.
# See the COPYING file in the top-level directory.
from __future__ import print_function
import sys
import struct
import random

View File

@ -11,7 +11,6 @@
# the COPYING file in the top-level directory.
#
from __future__ import print_function
import os
import re
import sys