Commit c6a57b57 authored by Chris Lamb's avatar Chris Lamb
Browse files

Drop state transition logging temporarily. (re. #40)

parent 9e4c7fb3
......@@ -2,8 +2,6 @@ from email_from_template import send_mail
from django.contrib.auth import get_user_model
from freenodejobs.utils import log
from .enums import StateEnum
UserModel = get_user_model()
......@@ -19,8 +17,6 @@ def dispatch(job, old_state, new_state, actor, description):
)"Job #{} state {} -> {}",, old_state, new_state)
for x, y, fn in TRANSITIONS:
if (old_state, new_state) == (x, y):
fn(job, history)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment