X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fshow_deferred.py;h=afa12b4b2b5658d601d38bbb7c84f1e8902cb4c3;hb=e80699c1162ee22906a90717e2195d90b7606497;hp=d3cf65302da6c6c6ee8a030c17b49eea7c24ed09;hpb=0dada7c5846e0ae676bbe0b81c1065fe75ca9b86;p=dak.git diff --git a/dak/show_deferred.py b/dak/show_deferred.py index d3cf6530..afa12b4b 100755 --- a/dak/show_deferred.py +++ b/dak/show_deferred.py @@ -22,8 +22,14 @@ import sys, os, re, time import apt_pkg -import tempfile -from debian_bundle import deb822 + +try: + # starting with squeeze + from debian import deb822 +except: + # up to lenny + from debian_bundle import deb822 + from daklib.dbconn import * from daklib import utils from daklib.regexes import re_html_escaping, html_escaping @@ -82,7 +88,15 @@ def header(): """ def footer(): - res = "
Timestamp: %s (UTC)
" % (time.strftime("%d.%m.%Y / %H:%M:%S", time.gmtime())) + res = """ + + + + + + +""" + res += "Timestamp: %s (UTC)
" % (time.strftime("%d.%m.%Y / %H:%M:%S", time.gmtime())) res += """ @@ -102,7 +116,6 @@ def table_header():non-NEW uploads are available, see the UploadQueue-README for more information.