X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=dak%2Fshow_deferred.py;h=e7dded0f92393f846e88fad9f8aeebac4eabe84b;hb=98874cfad12bc5f2ff6294271f7265624494d683;hp=afa12b4b2b5658d601d38bbb7c84f1e8902cb4c3;hpb=b43634b6faf221ee10fc63116baead379f68f92f;p=dak.git diff --git a/dak/show_deferred.py b/dak/show_deferred.py index afa12b4b..e7dded0f 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 += "