All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-virtualization][PATCH] hook_support.py: convert to python3
@ 2020-02-18  7:43 Changqing Li
  2020-02-20 17:43 ` Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: Changqing Li @ 2020-02-18  7:43 UTC (permalink / raw)
  To: meta-virtualization

From: Changqing Li <changqing.li@windriver.com>

python2 has been removed from oe-core, convert the scripts
to python3 to avoid runtime error like:
/usr/bin/env: 'python': No such file or directory'

Signed-off-by: Changqing Li <changqing.li@windriver.com>
---
 recipes-extended/libvirt/libvirt/hook_support.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-extended/libvirt/libvirt/hook_support.py b/recipes-extended/libvirt/libvirt/hook_support.py
index c3eb8b3..7c5e2a9 100755
--- a/recipes-extended/libvirt/libvirt/hook_support.py
+++ b/recipes-extended/libvirt/libvirt/hook_support.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # Copyright (C) 2014 Wind River Systems, Inc. 
 # 
-- 
2.7.4


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

* Re: [meta-virtualization][PATCH] hook_support.py: convert to python3
  2020-02-18  7:43 [meta-virtualization][PATCH] hook_support.py: convert to python3 Changqing Li
@ 2020-02-20 17:43 ` Bruce Ashfield
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2020-02-20 17:43 UTC (permalink / raw)
  To: Changqing Li; +Cc: meta-virtualization

merged.

Bruce

In message: [meta-virtualization][PATCH] hook_support.py: convert to python3
on 18/02/2020 Changqing Li wrote:

> From: Changqing Li <changqing.li@windriver.com>
> 
> python2 has been removed from oe-core, convert the scripts
> to python3 to avoid runtime error like:
> /usr/bin/env: 'python': No such file or directory'
> 
> Signed-off-by: Changqing Li <changqing.li@windriver.com>
> ---
>  recipes-extended/libvirt/libvirt/hook_support.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/recipes-extended/libvirt/libvirt/hook_support.py b/recipes-extended/libvirt/libvirt/hook_support.py
> index c3eb8b3..7c5e2a9 100755
> --- a/recipes-extended/libvirt/libvirt/hook_support.py
> +++ b/recipes-extended/libvirt/libvirt/hook_support.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/env python
> +#!/usr/bin/env python3
>  #
>  # Copyright (C) 2014 Wind River Systems, Inc. 
>  # 
> -- 
> 2.7.4
> 

> 


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

end of thread, other threads:[~2020-02-20 17:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-18  7:43 [meta-virtualization][PATCH] hook_support.py: convert to python3 Changqing Li
2020-02-20 17:43 ` Bruce Ashfield

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.