X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=inline;f=dak%2Fshow_deferred.py;h=53f568e0df60844bd470095c330a03c8b1f13e94;hb=1aaa31abc190aba714ee84c97927696274f8b2c0;hp=afa12b4b2b5658d601d38bbb7c84f1e8902cb4c3;hpb=b43634b6faf221ee10fc63116baead379f68f92f;p=dak.git diff --git a/dak/show_deferred.py b/dak/show_deferred.py index afa12b4b..53f568e0 100755 --- a/dak/show_deferred.py +++ b/dak/show_deferred.py @@ -22,15 +22,12 @@ import sys, os, re, time import apt_pkg +import rrdtool -try: - # starting with squeeze - from debian import deb822 -except: - # up to lenny - from debian_bundle import deb822 +from debian import deb822 from daklib.dbconn import * +from daklib.gpg import SignedFile from daklib import utils from daklib.regexes import re_html_escaping, html_escaping @@ -88,15 +85,8 @@ def header(): """ def footer(): - res = """ -
- - - - - -""" - res += "Timestamp: %s (UTC)
" % (time.strftime("%d.%m.%Y / %H:%M:%S", time.gmtime())) + res = "Timestamp: %s (UTC)
" % (time.strftime("%d.%m.%Y / %H:%M:%S", time.gmtime())) + res += " " res += """ @@ -104,7 +94,7 @@ def footer(): height="31" width="88"> """ res += "