($INBOX_DIR/description missing)
 help / color / mirror / Atom feed
From: Alassane Yattara <alassane.yattara@savoirfairelinux.com>
To: toaster@lists.yoctoproject.org
Cc: Tim Orling <tim.orling@konsulko.com>,
	Alassane Yattara <alassane.yattara@savoirfairelinux.com>
Subject: [PATCH 2/3] Bug-fix logging permission error in docker
Date: Thu, 26 Oct 2023 15:06:14 +0100	[thread overview]
Message-ID: <20231026140615.792919-2-alassane.yattara@savoirfairelinux.com> (raw)
In-Reply-To: <20231026140615.792919-1-alassane.yattara@savoirfairelinux.com>

From: Tim Orling <tim.orling@konsulko.com>

toastermain: try Path(os.environ.get('BUILDDIR')

Developer: Tim Orling
Reviewer: Alassane Yattara

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com>

---
 bitbake/lib/toaster/toastermain/logs.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bitbake/lib/toaster/toastermain/logs.py b/bitbake/lib/toaster/toastermain/logs.py
index db5d459f9b..573fbef9e5 100644
--- a/bitbake/lib/toaster/toastermain/logs.py
+++ b/bitbake/lib/toaster/toastermain/logs.py
@@ -8,7 +8,7 @@ from pathlib import Path
 from django.http import HttpRequest
 
 #BASE_DIR = Path(__file__).resolve(strict=True).parent.parent
-BUILDDIR = os.environ.get("BUILDDIR")
+BUILDDIR = Path(os.environ.get('BUILDDIR'))
 
 
 def log_api_request(request, response, view, logger_name='api'):
-- 
2.34.1



  reply	other threads:[~2023-10-26 14:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-26 14:06 [PATCH 1/3] Bug-fix logging permission error in docker Alassane Yattara
2023-10-26 14:06 ` Alassane Yattara [this message]
2023-10-26 14:06 ` [PATCH 3/3] " Alassane Yattara

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=20231026140615.792919-2-alassane.yattara@savoirfairelinux.com \
    --to=alassane.yattara@savoirfairelinux.com \
    --cc=tim.orling@konsulko.com \
    --cc=toaster@lists.yoctoproject.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).