]> Git Repo - qemu.git/commitdiff
image-fuzzer: Run using python3
authorEduardo Habkost <[email protected]>
Wed, 16 Oct 2019 19:24:29 +0000 (16:24 -0300)
committerStefan Hajnoczi <[email protected]>
Tue, 5 Nov 2019 15:35:06 +0000 (16:35 +0100)
image-fuzzer is now supposed to be ready to run using Python 3.
Remove the __future__ imports and change the interpreter line to
"#!/usr/bin/env python3".

Signed-off-by: Eduardo Habkost <[email protected]>
Reviewed-by: John Snow <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-id: 20191016192430[email protected]
Message-Id: <20191016192430[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
tests/image-fuzzer/qcow2/__init__.py
tests/image-fuzzer/qcow2/layout.py
tests/image-fuzzer/runner.py

index 09ef59821b6e70defc5e6f21f3e54952b4f506d7..ed3af5da863c0b4b6e780e8aef25e1f7baa4cda7 100644 (file)
@@ -1,2 +1 @@
-from __future__ import absolute_import
 from .layout import create_image
index 01bff4d05ee1fa63d86e9ece1cdf1d53af2d1b9e..57ebe86e9a035948bc91a12d3ec7812a2c89b1d7 100644 (file)
@@ -16,7 +16,6 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 
-from __future__ import absolute_import
 import random
 import struct
 from . import fuzz
index 94cab5bd93f16726bd24ecc5730c13e2c04062db..07932348150a8280f04377568bac69b47a254f9c 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Tool for running fuzz tests
 #
@@ -18,7 +18,6 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 
-from __future__ import print_function
 import sys
 import os
 import signal
This page took 0.029639 seconds and 4 git commands to generate.