diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2019-02-25 11:09:54 +0100 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2019-03-05 16:52:49 +0100 |
| commit | 02bbb30efea4980c9d133947cbbf69fb599071ad (patch) | |
| tree | 3fea6826fcc5354840a27cb1dc99ff31eef81896 /test/os_dep/linux/test_env.py | |
| parent | eab809932871f91d6f4aa770fc321af9e156e0f5 (diff) | |
| download | miasm-02bbb30efea4980c9d133947cbbf69fb599071ad.tar.gz miasm-02bbb30efea4980c9d133947cbbf69fb599071ad.zip | |
Support python2/python3
Diffstat (limited to 'test/os_dep/linux/test_env.py')
| -rw-r--r-- | test/os_dep/linux/test_env.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/os_dep/linux/test_env.py b/test/os_dep/linux/test_env.py index 0c80571f..1e8e7678 100644 --- a/test/os_dep/linux/test_env.py +++ b/test/os_dep/linux/test_env.py @@ -1,3 +1,4 @@ +from __future__ import print_function import os import sys from pdb import pm @@ -6,7 +7,7 @@ from miasm2.analysis.sandbox import Sandbox_Linux_x86_32, Sandbox_Linux_x86_64,\ Sandbox_Linux_arml, Sandbox_Linux_aarch64l if len(sys.argv) < 2: - print "Usage: %s <arch> ..." % sys.argv[0] + print("Usage: %s <arch> ..." % sys.argv[0]) exit(0) arch = sys.argv[1] |