X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=dak%2Fqueue_report.py;h=7176a886a8d76a9d05b6050c88b5993b84f7955e;hb=a6fe641395cb2f5f2a48d7fe1ffef2ff9c701165;hp=d3777a273971cd67e36314c907dee404779a5760;hpb=b43634b6faf221ee10fc63116baead379f68f92f;p=dak.git diff --git a/dak/queue_report.py b/dak/queue_report.py index d3777a27..7176a886 100755 --- a/dak/queue_report.py +++ b/dak/queue_report.py @@ -34,6 +34,16 @@ ################################################################################ +import warnings +warnings.filterwarnings('ignore', \ + "apt_pkg\.ParseTagFile\(\) is deprecated\. Please see apt_pkg\.TagFile\(\) for the replacement\.", \ + DeprecationWarning) +warnings.filterwarnings('ignore', \ + "Attribute '.*' of the 'apt_pkg\.TagFile' object is deprecated, use '.*' instead\.", \ + DeprecationWarning) + +################################################################################ + from copy import copy import glob, os, stat, sys, time import apt_pkg @@ -222,6 +232,7 @@ def header(): def footer(): print "

Timestamp: %s (UTC)

" % (time.strftime("%d.%m.%Y / %H:%M:%S", time.gmtime())) + print "

There are graphs about the queues available.

" print """