summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rwxr-xr-xbitbake/lib/toaster/contrib/tts/recv.py4
1 files changed, 2 insertions, 2 deletions
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 @@
25# |[full/path]/recv.py 25# |[full/path]/recv.py
26 26
27from __future__ import print_function 27from __future__ import print_function
28import sys, os, config, shellutils 28import sys, config, shellutils
29 29
30from email.parser import Parser 30from email.parser import Parser
31 31
@@ -46,7 +46,7 @@ def main():
46 subject_parts = subject.split() 46 subject_parts = subject.split()
47 if "[review-request]" in subject_parts: 47 if "[review-request]" in subject_parts:
48 task_name = subject_parts[subject_parts.index("[review-request]") + 1] 48 task_name = subject_parts[subject_parts.index("[review-request]") + 1]
49 with open(os.path.join(os.path.dirname(__file__), config.BACKLOGFILE), "a") as fout: 49 with open(config.BACKLOGFILE, "a") as fout:
50 line = "%s|%s\n" % (task_name, config.TASKS.PENDING) 50 line = "%s|%s\n" % (task_name, config.TASKS.PENDING)
51 fout.write(line) 51 fout.write(line)
52 52