X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fshow_deferred.py;h=f9f24d6f217e0dcca74e3d292ab59b6ecc7c5bc5;hb=b92562632a64ec38e785278212e43f47c9a0dfef;hp=afa12b4b2b5658d601d38bbb7c84f1e8902cb4c3;hpb=b43634b6faf221ee10fc63116baead379f68f92f;p=dak.git diff --git a/dak/show_deferred.py b/dak/show_deferred.py index afa12b4b..f9f24d6f 100755 --- a/dak/show_deferred.py +++ b/dak/show_deferred.py @@ -22,13 +22,9 @@ 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 import utils @@ -88,15 +84,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 +93,7 @@ def footer(): height="31" width="88"> """ res += "