[dak/master] Call it hourly with -8 Fix the unassigned variable
Signed-off-by: Joerg Jaspert <joerg@debian.org>
---
config/debian/cron.hourly | 2 +-
dak/queue_report.py | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/config/debian/cron.hourly b/config/debian/cron.hourly
index 18bca24..3ff3f7d 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 ea0802a..ce88d09 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")
--
1.5.6.5
Reply to: