]> git.decadent.org.uk Git - dak.git/commitdiff
Call it hourly with -8
authorJoerg Jaspert <joerg@debian.org>
Wed, 24 Dec 2008 09:41:51 +0000 (10:41 +0100)
committerJoerg Jaspert <joerg@debian.org>
Wed, 24 Dec 2008 09:41:51 +0000 (10:41 +0100)
Fix the unassigned variable

Signed-off-by: Joerg Jaspert <joerg@debian.org>
config/debian/cron.hourly
dak/queue_report.py

index 18bca24486131f8594e4e1d683b003b5327e5c7c..3ff3f7d53370b5b92c17e6a7e05f75ebf18b22f7 100755 (executable)
@@ -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
index ea0802a8a6476630f288e0d109c1d71462753a0a..ce88d09ffc235acd4f9531dad344cf896bf7261e 100755 (executable)
@@ -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")