From f169733738587e5665b350f8a181b3145776e317 Mon Sep 17 00:00:00 2001 From: Alexandru DAMIAN Date: Thu, 30 Jul 2015 19:25:11 +0300 Subject: bitbake: toaster tests: gitignore and use absolute path for log file gitignore the cache directory created by the http client the log file for tests is already set up as an absolute path, so no need to recompute the path (Bitbake rev: 80f525e5cbe83e0407ecddf84401d68213c6d5cf) Signed-off-by: Alexandru DAMIAN Signed-off-by: Ed Bartosh Signed-off-by: Richard Purdie --- bitbake/lib/toaster/contrib/tts/recv.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bitbake') diff --git a/bitbake/lib/toaster/contrib/tts/recv.py b/bitbake/lib/toaster/contrib/tts/recv.py index 2faf8d08c7..07efdac44b 100755 --- a/bitbake/lib/toaster/contrib/tts/recv.py +++ b/bitbake/lib/toaster/contrib/tts/recv.py @@ -25,7 +25,7 @@ # |[full/path]/recv.py from __future__ import print_function -import sys, os, config, shellutils +import sys, config, shellutils from email.parser import Parser @@ -46,7 +46,7 @@ def main(): subject_parts = subject.split() if "[review-request]" in subject_parts: task_name = subject_parts[subject_parts.index("[review-request]") + 1] - with open(os.path.join(os.path.dirname(__file__), config.BACKLOGFILE), "a") as fout: + with open(config.BACKLOGFILE, "a") as fout: line = "%s|%s\n" % (task_name, config.TASKS.PENDING) fout.write(line) -- cgit v1.2.3-54-g00ecf