diff mbox series

[auh,01/11] upgrade-helper.py: remove unused self.poky_git settings

Message ID 20260311063557.229656-1-Qi.Chen@windriver.com
State New
Headers show
Series [auh,01/11] upgrade-helper.py: remove unused self.poky_git settings | expand

Commit Message

Chen, Qi March 11, 2026, 6:35 a.m. UTC
From: Chen Qi <Qi.Chen@windriver.com>

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 upgrade-helper.py | 2 --
 1 file changed, 2 deletions(-)

Comments

Chen, Qi March 11, 2026, 6:46 a.m. UTC | #1
Sorry, there's another patch that is missed in this patchset.
I'll send out V2.

Regards,
Qi

On 3/11/26 14:35, Chen Qi via lists.yoctoproject.org wrote:
> From: Chen Qi <Qi.Chen@windriver.com>
>
> Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
> ---
>   upgrade-helper.py | 2 --
>   1 file changed, 2 deletions(-)
>
> diff --git a/upgrade-helper.py b/upgrade-helper.py
> index 2f38e0a..3b98f7c 100755
> --- a/upgrade-helper.py
> +++ b/upgrade-helper.py
> @@ -184,11 +184,9 @@ class Updater(object):
>                       _layer_settings_error(s)
>   
>               self.git = Git(self.opts['layer_dir'])
> -            self.poky_git = Git(os.path.dirname(os.getenv('PATH', False).split(':')[0]))
>           else:
>               # XXX: assume that the poky directory is the first entry in the PATH
>               self.git = Git(os.path.dirname(os.getenv('PATH', False).split(':')[0]))
> -            self.poky_git = None
>           self.opts['machines'] = settings.get('machines', 'qemux86-64 qemuarm_musl').split()
>   
>           self.opts['send_email'] = self.args.send_emails
diff mbox series

Patch

diff --git a/upgrade-helper.py b/upgrade-helper.py
index 2f38e0a..3b98f7c 100755
--- a/upgrade-helper.py
+++ b/upgrade-helper.py
@@ -184,11 +184,9 @@  class Updater(object):
                     _layer_settings_error(s)
 
             self.git = Git(self.opts['layer_dir'])
-            self.poky_git = Git(os.path.dirname(os.getenv('PATH', False).split(':')[0]))
         else:
             # XXX: assume that the poky directory is the first entry in the PATH
             self.git = Git(os.path.dirname(os.getenv('PATH', False).split(':')[0]))
-            self.poky_git = None
         self.opts['machines'] = settings.get('machines', 'qemux86-64 qemuarm_musl').split()
 
         self.opts['send_email'] = self.args.send_emails