Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/cygwin-apps/calm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'calm/reports.py')
-rw-r--r--calm/reports.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/calm/reports.py b/calm/reports.py
index df8e455..a29f4a5 100644
--- a/calm/reports.py
+++ b/calm/reports.py
@@ -175,12 +175,11 @@ def deprecated(args, packages, reportsdir):
newer soversion, or has stopped producing this soversion).</p>'''), file=body)
print('<table class="grid">', file=body)
- print('<tr><th>package</th><th>version</th><th>rdepends</th></tr>', file=body)
+ print('<tr><th>package</th><th>version</th><th>timestamp</th><th>rdepends</th></tr>', file=body)
for depp in sorted(dep_list, key=lambda i: (i.rdepends, i.ts), reverse=True):
- po = depp.po
- print('<tr><td>%s</td><td>%s</td><td>%s</td></tr>' %
- (linkify(depp.pn, depp.po), depp.v, depp.rdepends), file=body)
+ print('<tr><td>%s</td><td>%s</td><td>%s</td><td>%s</td></tr>' %
+ (linkify(depp.pn, depp.po), depp.v, pkg2html.tsformat(depp.ts), depp.rdepends), file=body)
print('</table>', file=body)