X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fshow_new.py;h=2596f864670cba26a96920802524fbdad9241220;hb=a6dcd91d8fc8e2a298bb2896413cb6deb1835674;hp=445f6d2a54888521abf67b706fa61be20d0af6b4;hpb=c60719bc9a46557970c0c43e90d6f7d0469230b0;p=dak.git diff --git a/dak/show_new.py b/dak/show_new.py old mode 100755 new mode 100644 index 445f6d2a..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):
Navigation
- - - + + + """ for fn in filter(lambda x: x.endswith('.deb') or x.endswith('.udeb'),filestoexamine): - packagename = fn.split('_')[0] - print """ -%(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 """