From d6c675a02c32f25a25748834c8e80a3577ec9f25 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Wed, 24 Dec 2008 10:41:51 +0100 Subject: [PATCH] Call it hourly with -8 Fix the unassigned variable Signed-off-by: Joerg Jaspert --- config/debian/cron.hourly | 2 +- dak/queue_report.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config/debian/cron.hourly b/config/debian/cron.hourly index 18bca244..3ff3f7d5 100755 --- a/config/debian/cron.hourly +++ b/config/debian/cron.hourly @@ -11,7 +11,7 @@ date -u > $ftpdir/project/trace/ftp-master.debian.org echo "Using dak v1" >> $ftpdir/project/trace/ftp-master.debian.org echo "Running on host: $(hostname -f)" >> $ftpdir/project/trace/ftp-master.debian.org dak import-users-from-passwd -dak queue-report -n > $webdir/new.html +dak queue-report -n -8 > $webdir/new.html dak show-deferred > ${webdir}/deferred.html cd $queuedir/new ; dak show-new *.changes > /dev/null $base/dak/tools/queue_rss.py -q $queuedir/new -o $webdir/rss/ -d $base/misc diff --git a/dak/queue_report.py b/dak/queue_report.py index ea0802a8..ce88d09f 100755 --- a/dak/queue_report.py +++ b/dak/queue_report.py @@ -534,6 +534,7 @@ def main(): if not directories: directories = [ "byhand", "new" ] + f = None if Cnf.has_key("Queue-Report::Options::822"): # Open the report file f = open(Cnf["Queue-Report::ReportLocations::822Location"], "w") -- 2.39.5