X-Git-Url: https://git.decadent.org.uk/gitweb/?p=dak.git;a=blobdiff_plain;f=dak%2Fshow_new.py;h=34baba954940946f1184253da5e40a9cd40cf051;hp=a35f4d65d4efa88b1c5d83fade12468293ef105e;hb=d9822f04453a1b62ca0aa66e2efeea35f654778f;hpb=281403d6d387e3adad068ece921af17f507d0f0c diff --git a/dak/show_new.py b/dak/show_new.py old mode 100755 new mode 100644 index a35f4d65..34baba95 --- 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 @@ -113,17 +113,17 @@ def html_header(name, filestoexamine):

source lintian

""" for fn in filter(lambda x: x.endswith('.deb') or x.endswith('.udeb'),filestoexamine): - packagename = fn.split('_')[0] - print """ -

%(pkg)s

-

control file

-

binary lintian

-

.deb contents

-

copyright

-

file listing

- """%{"pkg":packagename} + packagename = fn.split('_')[0] + print """ +

%(pkg)s

+

control file

+

binary lintian

+

.deb contents

+

copyright

+

file listing

+ """%{"pkg":packagename} print " " - + def html_footer(): print """

Timestamp: %s (UTC)

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