diff mbox

qemu-iotests: 149: Use "/usr/bin/env python"

Message ID 1459504593-2692-1-git-send-email-famz@redhat.com
State New
Headers show

Commit Message

Fam Zheng April 1, 2016, 9:56 a.m. UTC
Do the same as other scripts, to pick the correct interpreter between
python2 and python3 from the environment.

Signed-off-by: Fam Zheng <famz@redhat.com>
---
 tests/qemu-iotests/149 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Max Reitz April 1, 2016, 3:44 p.m. UTC | #1
On 01.04.2016 11:56, Fam Zheng wrote:
> Do the same as other scripts, to pick the correct interpreter between
> python2 and python3 from the environment.
> 
> Signed-off-by: Fam Zheng <famz@redhat.com>
> ---
>  tests/qemu-iotests/149 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Thanks, applied to my block tree:

https://github.com/XanClic/qemu/commits/block

Max
diff mbox

Patch

diff --git a/tests/qemu-iotests/149 b/tests/qemu-iotests/149
index bb5811d..52e23d2 100755
--- a/tests/qemu-iotests/149
+++ b/tests/qemu-iotests/149
@@ -1,4 +1,4 @@ 
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # Copyright (C) 2016 Red Hat, Inc.
 #