Commit 73bdbb84 authored by Eduardo Habkost's avatar Eduardo Habkost Committed by Stefan Hajnoczi
Browse files

image-fuzzer: Run using python3



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: default avatarEduardo Habkost <ehabkost@redhat.com>
Reviewed-by: default avatarJohn Snow <jsnow@redhat.com>
Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20191016192430.25098-10-ehabkost@redhat.com
Message-Id: <20191016192430.25098-10-ehabkost@redhat.com>
Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
parent 58b818d5
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
from __future__ import absolute_import
from .layout import create_image
+0 −1
Original line number Diff line number Diff line
@@ -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
+1 −2
Original line number Diff line number Diff line
#!/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