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> # Usage: ./analyse-9p-simpletrace <trace-events> <trace-pid>
# #
# Author: Harsh Prateek Bora # Author: Harsh Prateek Bora
from __future__ import print_function
import os import os
import simpletrace import simpletrace

View File

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

View File

@ -23,7 +23,6 @@
Run QEMU with all combinations of -machine and -device types, Run QEMU with all combinations of -machine and -device types,
check for crashes and unexpected errors. check for crashes and unexpected errors.
""" """
from __future__ import print_function
import os import os
import sys 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 This work is licensed under the terms of the GNU GPL, version 2 or later. See
the COPYING file in the top-level directory. the COPYING file in the top-level directory.
""" """
from __future__ import print_function
import ctypes import ctypes
import struct import struct

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -9,7 +9,6 @@
# #
# For help see docs/devel/tracing.txt # For help see docs/devel/tracing.txt
from __future__ import print_function
import struct import struct
import inspect import inspect
from tracetool import read_events, Event 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 # You should have received a copy of the GNU General Public License along
# with this program; if not, see <http://www.gnu.org/licenses/>. # with this program; if not, see <http://www.gnu.org/licenses/>.
from __future__ import print_function
import argparse import argparse
import json import json
import sys import sys

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,3 @@
from __future__ import print_function
# Common utilities and Python wrappers for qemu-iotests # Common utilities and Python wrappers for qemu-iotests
# #
# Copyright (C) 2012 IBM Corp. # 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. # This work is licensed under the terms of the GNU GPL, version 2 or later.
# See the COPYING file in the top-level directory. # See the COPYING file in the top-level directory.
from __future__ import print_function
import sys import sys
import socket import socket
import struct import struct

View File

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

View File

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

View File

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