All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] qemu-iotests: 149: Use "/usr/bin/env python"
@ 2016-04-01  9:56 Fam Zheng
  2016-04-01 15:44 ` [Qemu-devel] [Qemu-block] " Max Reitz
  0 siblings, 1 reply; 2+ messages in thread
From: Fam Zheng @ 2016-04-01  9:56 UTC (permalink / raw)
  To: qemu-devel; +Cc: Kevin Wolf, qemu-block

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(-)

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.
 #
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [Qemu-block] [PATCH] qemu-iotests: 149: Use "/usr/bin/env python"
  2016-04-01  9:56 [Qemu-devel] [PATCH] qemu-iotests: 149: Use "/usr/bin/env python" Fam Zheng
@ 2016-04-01 15:44 ` Max Reitz
  0 siblings, 0 replies; 2+ messages in thread
From: Max Reitz @ 2016-04-01 15:44 UTC (permalink / raw)
  To: Fam Zheng, qemu-devel; +Cc: Kevin Wolf, qemu-block


[-- Attachment #1.1: Type: text/plain, Size: 393 bytes --]

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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-04-01 15:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-01  9:56 [Qemu-devel] [PATCH] qemu-iotests: 149: Use "/usr/bin/env python" Fam Zheng
2016-04-01 15:44 ` [Qemu-devel] [Qemu-block] " Max Reitz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.