public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: "srinuvasan.a via isar-users" <isar-users@googlegroups.com>
To: isar-users@googlegroups.com
Cc: jan.kiszka@siemens.com, srinuvasan <srinuvasan.a@siemens.com>
Subject: [PATCH] meta/classes/dpkg-base: remove os module in python function
Date: Sat, 12 Oct 2024 18:59:10 +0530	[thread overview]
Message-ID: <20241012132910.1298091-1-srinuvasan.a@siemens.com> (raw)

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.

             reply	other threads:[~2024-10-12 13:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-12 13:29 srinuvasan.a via isar-users [this message]
2024-10-21 10:51 ` Uladzimir Bely

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241012132910.1298091-1-srinuvasan.a@siemens.com \
    --to=isar-users@googlegroups.com \
    --cc=jan.kiszka@siemens.com \
    --cc=srinuvasan.a@siemens.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox