* [PATCH kvm-unit-tests] expect python3 in the path
@ 2020-01-21 16:21 Paolo Bonzini
2020-01-21 16:24 ` Thomas Huth
0 siblings, 1 reply; 2+ messages in thread
From: Paolo Bonzini @ 2020-01-21 16:21 UTC (permalink / raw)
To: kvm; +Cc: thuth
Some systems that only have Python 3.x installed will not have
a "python" binary in the path. Since pretty_print_stacks.py
is a Python 3 program, we can use an appropriate shebang.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
scripts/pretty_print_stacks.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/pretty_print_stacks.py b/scripts/pretty_print_stacks.py
index a863c8e..1e59cde 100755
--- a/scripts/pretty_print_stacks.py
+++ b/scripts/pretty_print_stacks.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import re
import subprocess
--
1.8.3.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH kvm-unit-tests] expect python3 in the path
2020-01-21 16:21 [PATCH kvm-unit-tests] expect python3 in the path Paolo Bonzini
@ 2020-01-21 16:24 ` Thomas Huth
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Huth @ 2020-01-21 16:24 UTC (permalink / raw)
To: Paolo Bonzini, kvm; +Cc: Peter Feiner, Andrew Jones
On 21/01/2020 17.21, Paolo Bonzini wrote:
> Some systems that only have Python 3.x installed will not have
> a "python" binary in the path. Since pretty_print_stacks.py
> is a Python 3 program, we can use an appropriate shebang.
>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> scripts/pretty_print_stacks.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/pretty_print_stacks.py b/scripts/pretty_print_stacks.py
> index a863c8e..1e59cde 100755
> --- a/scripts/pretty_print_stacks.py
> +++ b/scripts/pretty_print_stacks.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/env python
> +#!/usr/bin/env python3
>
> import re
> import subprocess
>
Acked-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-01-21 16:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-21 16:21 [PATCH kvm-unit-tests] expect python3 in the path Paolo Bonzini
2020-01-21 16:24 ` Thomas Huth
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.