From: Joerg Jaspert Date: Wed, 24 Dec 2008 09:41:51 +0000 (+0100) Subject: Call it hourly with -8 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=d6c675a02c32f25a25748834c8e80a3577ec9f25;hp=570898e5c71a1b08524b310b62184e46f2243870;p=dak.git Call it hourly with -8 Fix the unassigned variable Signed-off-by: Joerg Jaspert --- 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")