diff options
Diffstat (limited to 'bitbake/lib/toaster/bldcollector')
| -rw-r--r-- | bitbake/lib/toaster/bldcollector/views.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/bldcollector/views.py b/bitbake/lib/toaster/bldcollector/views.py index 04cd8b3dd4..bdf38ae6e8 100644 --- a/bitbake/lib/toaster/bldcollector/views.py +++ b/bitbake/lib/toaster/bldcollector/views.py | |||
| @@ -14,8 +14,11 @@ import subprocess | |||
| 14 | import toastermain | 14 | import toastermain |
| 15 | from django.views.decorators.csrf import csrf_exempt | 15 | from django.views.decorators.csrf import csrf_exempt |
| 16 | 16 | ||
| 17 | from toastermain.logs import log_view_mixin | ||
| 18 | |||
| 17 | 19 | ||
| 18 | @csrf_exempt | 20 | @csrf_exempt |
| 21 | @log_view_mixin | ||
| 19 | def eventfile(request): | 22 | def eventfile(request): |
| 20 | """ Receives a file by POST, and runs toaster-eventreply on this file """ | 23 | """ Receives a file by POST, and runs toaster-eventreply on this file """ |
| 21 | if request.method != "POST": | 24 | if request.method != "POST": |
