Skip to contentSkip to conversation

hook_support.py: convert to python3

PATCH In review Changqing Li 2 participants 2 messages Feb 18, 2020 – Feb 20, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hook_support.py: convert to python3

From: Changqing Li <[email protected]>

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'

---
 recipes-extended/libvirt/libvirt/hook_support.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/libvirt/libvirt/hook_support.py +1 -1
index c3eb8b3..7c5e2a9 100755
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # Copyright (C) 2014 Wind River Systems, Inc. 
 # 
Signature · 1 line
2.7.4
#1 lore raw

merged.

Bruce

In message: [meta-virtualization][PATCH] hook_support.py: convert to python3

Quoted 26 lines · on 18/02/2020 Changqing Li wrote:

From: Changqing Li <[email protected]>

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'

---
 recipes-extended/libvirt/libvirt/hook_support.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/libvirt/libvirt/hook_support.py +1 -1
index c3eb8b3..7c5e2a9 100755
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # Copyright (C) 2014 Wind River Systems, Inc. 
 # 
Signature · 1 line
2.7.4