X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fshow_new.py;h=2596f864670cba26a96920802524fbdad9241220;hb=a6dcd91d8fc8e2a298bb2896413cb6deb1835674;hp=a35f4d65d4efa88b1c5d83fade12468293ef105e;hpb=281403d6d387e3adad068ece921af17f507d0f0c;p=dak.git diff --git a/dak/show_new.py b/dak/show_new.py old mode 100755 new mode 100644 index a35f4d65..2596f864 --- a/dak/show_new.py +++ b/dak/show_new.py @@ -29,7 +29,7 @@ import copy, os, sys, time import apt_pkg import examine_package import daklib.database -import daklib.queue +import daklib.queue import daklib.utils # Globals @@ -53,7 +53,7 @@ def html_header(name, filestoexamine):
%(pkg)s
- - - - - - """%{"pkg":packagename} + packagename = fn.split('_')[0] + print """ +%(pkg)s
+ + + + + + """%{"pkg":packagename} print "Timestamp: %s (UTC)
"""% (time.strftime("%d.%m.%Y / %H:%M:%S", time.gmtime())) print """