diff options
| -rw-r--r-- | .gitignore | 3 | ||||
| -rwxr-xr-x | bitbake/lib/toaster/contrib/tts/recv.py | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore index 86eb2e5d77..42358310bf 100644 --- a/.gitignore +++ b/.gitignore | |||
| @@ -21,3 +21,6 @@ documentation/user-manual/user-manual.html | |||
| 21 | documentation/user-manual/user-manual.pdf | 21 | documentation/user-manual/user-manual.pdf |
| 22 | documentation/user-manual/user-manual.tgz | 22 | documentation/user-manual/user-manual.tgz |
| 23 | pull-*/ | 23 | pull-*/ |
| 24 | bitbake/lib/toaster/contrib/tts/backlog.txt | ||
| 25 | bitbake/lib/toaster/contrib/tts/log/* | ||
| 26 | bitbake/lib/toaster/contrib/tts/.cache/* \ No newline at end of file | ||
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 | ||
| 27 | from __future__ import print_function | 27 | from __future__ import print_function |
| 28 | import sys, os, config, shellutils | 28 | import sys, config, shellutils |
| 29 | 29 | ||
| 30 | from email.parser import Parser | 30 | from 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 | ||
