X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=dak%2Fqueue_report.py;h=422672b7e99be6c9fa466a1fd7b22336ba4132b9;hb=9dbb7b6ec34adb6a28180279895c888806f6e9de;hp=7e4e14745706027a31734c054fb1ec20827f849f;hpb=3ecc7485bb7357d46cc6e1dee12cd507502d5a7d;p=dak.git diff --git a/dak/queue_report.py b/dak/queue_report.py index 7e4e1474..422672b7 100755 --- a/dak/queue_report.py +++ b/dak/queue_report.py @@ -183,7 +183,7 @@ def header(): - + Debian NEW and BYHAND Packages @@ -209,22 +209,22 @@ def header():
- corner image - corner image - corner image - corner image Debian NEW and BYHAND Packages @@ -240,16 +240,8 @@ def footer(): """ @@ -334,7 +326,7 @@ def table_row(source, version, arch, last_mod, maint, distribution, closes, fing print "" for close in closes: - print "#%s
" % (utils.html_escape(close), utils.html_escape(close)) + print "#%s
" % (utils.html_escape(close), utils.html_escape(close)) print "" row_number+=1 @@ -662,7 +654,10 @@ def main(): f = None if Cnf.has_key("Queue-Report::Options::822"): # Open the report file - f = open(Cnf["Queue-Report::ReportLocations::822Location"], "w") + f = sys.stdout + filename822 = Cnf.get("Queue-Report::ReportLocations::822Location") + if filename822: + f = open(filename822, "w") session = DBConn().session()