summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-05-20 14:30:42 +0200
committerHolger Levsen <holger@layer-acht.org>2016-05-20 14:30:42 +0200
commite0a392ddf8b3765e510b23ebd6770e12ff348515 (patch)
tree05b385d3dbaf0b479dfb867c87e302aa57091c1b
parentec7d8f8d5ea8a2690cdd8251943cd5e1372682e0 (diff)
downloadjenkins.debian.net-e0a392ddf8b3765e510b23ebd6770e12ff348515.tar.xz
reproducible: remove unused code fragment
-rwxr-xr-xbin/reproducible_remote_scheduler.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/bin/reproducible_remote_scheduler.py b/bin/reproducible_remote_scheduler.py
index 4afe29db..a7179f6a 100755
--- a/bin/reproducible_remote_scheduler.py
+++ b/bin/reproducible_remote_scheduler.py
@@ -202,7 +202,6 @@ message += ': ' + ' '.join(pkgs)[0:256] + blablabla + trailing
# the current date is subtracted twice, so it sorts before early scheduling
# schedule on the full hour so we can recognize them easily
epoch = int(time.time())
-yesterday = epoch - 60*60*24
now = datetime.now()
days = int(now.strftime('%j'))*2
hours = int(now.strftime('%H'))*2