aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpackages-inheriting-eclasses.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages-inheriting-eclasses.py b/packages-inheriting-eclasses.py
index c2ae5ae..eace643 100755
--- a/packages-inheriting-eclasses.py
+++ b/packages-inheriting-eclasses.py
@@ -49,7 +49,7 @@ def main(argv):
<li><a href="/">/ (go back)</a></li>
</ul>
</body>
-</html>''' % (max([len(e) for e in output]), datetime.datetime.fromtimestamp(c.syncer['sync:%s' % portdir.location].current_timestamp()), '\n'.join(['<li><a href="%s.txt">%s.eclass</a> (%d packages),</li>' % (e, e, len(output[e])) for e in sorted(output)])))
+</html>''' % (max([len(e) for e in output]), datetime.datetime.fromtimestamp(os.path.getmtime(portdir.location)).strftime("%a %b %d %Y %H:%M:%S"), '\n'.join(['<li><a href="%s.txt">%s.eclass</a> (%d packages),</li>' % (e, e, len(output[e])) for e in sorted(output)])))
f.close()
return 0