X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=dak%2Fshow_deferred.py;h=7352f71ea928d6bec94ee0b9654d339b174fa3f1;hb=41034f1347f3bd08b197e1c13612bddba8f2df90;hp=2bb643d151508bac7b20577d1f0310c51eaeba36;hpb=f9264640fc54af9950119c956973fe5573ada5ab;p=dak.git diff --git a/dak/show_deferred.py b/dak/show_deferred.py index 2bb643d1..7352f71e 100755 --- a/dak/show_deferred.py +++ b/dak/show_deferred.py @@ -22,7 +22,15 @@ import sys, os, re, time import apt_pkg -from debian_bundle import deb822 +import rrdtool + +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,6 +90,7 @@ def header(): def footer(): res = "
Timestamp: %s (UTC)
" % (time.strftime("%d.%m.%Y / %H:%M:%S", time.gmtime())) + res += " " res += """ @@ -89,7 +98,7 @@ def footer(): height="31" width="88"> """ res += "