* [PATCH] meta/classes/dpkg-base: remove os module in python function
@ 2024-10-12 13:29 srinuvasan.a via isar-users
2024-10-21 10:51 ` Uladzimir Bely
0 siblings, 1 reply; 2+ messages in thread
From: srinuvasan.a via isar-users @ 2024-10-12 13:29 UTC (permalink / raw)
To: isar-users; +Cc: jan.kiszka, srinuvasan
From: srinuvasan <srinuvasan.a@siemens.com>
By default os module imported in python function,
hence remove this import from the "isar_export_build_settings" function.
Signed-off-by: srinuvasan <srinuvasan.a@siemens.com>
---
meta/classes/dpkg-base.bbclass | 1 -
1 file changed, 1 deletion(-)
diff --git a/meta/classes/dpkg-base.bbclass b/meta/classes/dpkg-base.bbclass
index c97ee651..2eb6bfbd 100644
--- a/meta/classes/dpkg-base.bbclass
+++ b/meta/classes/dpkg-base.bbclass
@@ -231,7 +231,6 @@ def isar_deb_build_options(d):
# use with caution: might contaminate multiple tasks
def isar_export_build_settings(d):
- import os
os.environ['DEB_BUILD_OPTIONS'] = isar_deb_build_options(d)
os.environ['DEB_BUILD_PROFILES'] = isar_deb_build_profiles(d)
--
2.39.5
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/isar-users/20241012132910.1298091-1-srinuvasan.a%40siemens.com.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] meta/classes/dpkg-base: remove os module in python function
2024-10-12 13:29 [PATCH] meta/classes/dpkg-base: remove os module in python function srinuvasan.a via isar-users
@ 2024-10-21 10:51 ` Uladzimir Bely
0 siblings, 0 replies; 2+ messages in thread
From: Uladzimir Bely @ 2024-10-21 10:51 UTC (permalink / raw)
To: srinuvasan.a, isar-users; +Cc: jan.kiszka
On Sat, 2024-10-12 at 18:59 +0530, srinuvasan.a via isar-users wrote:
> From: srinuvasan <srinuvasan.a@siemens.com>
>
> By default os module imported in python function,
> hence remove this import from the "isar_export_build_settings"
> function.
>
> Signed-off-by: srinuvasan <srinuvasan.a@siemens.com>
> ---
> meta/classes/dpkg-base.bbclass | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/meta/classes/dpkg-base.bbclass b/meta/classes/dpkg-
> base.bbclass
> index c97ee651..2eb6bfbd 100644
> --- a/meta/classes/dpkg-base.bbclass
> +++ b/meta/classes/dpkg-base.bbclass
> @@ -231,7 +231,6 @@ def isar_deb_build_options(d):
>
> # use with caution: might contaminate multiple tasks
> def isar_export_build_settings(d):
> - import os
> os.environ['DEB_BUILD_OPTIONS'] = isar_deb_build_options(d)
> os.environ['DEB_BUILD_PROFILES'] = isar_deb_build_profiles(d)
>
> --
> 2.39.5
>
Applied to next, thanks.
--
Best regards,
Uladzimir.
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/isar-users/1050af8c707995b1197ac6f632a04ba9ff31c7cc.camel%40ilbers.de.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-10-21 10:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-12 13:29 [PATCH] meta/classes/dpkg-base: remove os module in python function srinuvasan.a via isar-users
2024-10-21 10:51 ` Uladzimir Bely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox