diff options
author | Mattia Rizzolo <mattia@debian.org> | 2015-12-14 18:34:01 +0000 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-12-14 19:36:29 +0100 |
commit | 5b71180cb97a9a79b40b3fd025dfe17a48712848 (patch) | |
tree | d49282093ec51204ca25da600644ca7cd78e961c /bin/reproducible_remote_scheduler.py | |
parent | 7bb713f14db4e12587241c852fc8910b3affa0cf (diff) | |
download | jenkins.debian.net-5b71180cb97a9a79b40b3fd025dfe17a48712848.tar.xz |
reproducible: don't save the reschedule reason in the DB
That was actually a bad idea, given that we don't check on input execute the
with the given string right away.
Also, we're not really interested in this, so once convenient we can also remove
the column from the DB.
Diffstat (limited to 'bin/reproducible_remote_scheduler.py')
-rwxr-xr-x | bin/reproducible_remote_scheduler.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/reproducible_remote_scheduler.py b/bin/reproducible_remote_scheduler.py index 331f7b36..4afe29db 100755 --- a/bin/reproducible_remote_scheduler.py +++ b/bin/reproducible_remote_scheduler.py @@ -233,7 +233,6 @@ if amount + len(ids) > 200 and not local: to_schedule = [] save_schedule = [] artifacts_value = 1 if artifacts else 0 -reason = reason if reason else None if notify_on_start: do_notify = 2 elif notify or artifacts: @@ -242,7 +241,7 @@ else: do_notify = 0 for id in ids: to_schedule.append((id, date, artifacts_value, str(do_notify), requester, - reason)) + None)) save_schedule.append((id, requester, epoch)) log.debug('Packages about to be scheduled: ' + str(to_schedule)) |