[Git][qa/jenkins.debian.net][master] fixup: r.d.n/stats: minor formatting changes

Holger Levsen (@holger) gitlab at salsa.debian.org
Fri Dec 13 18:00:04 GMT 2024



Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
7e94a7eb by Holger Levsen at 2024-12-13T18:59:55+01:00
fixup: r.d.n/stats: minor formatting changes

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/rebuilder_stats.py


Changes:

=====================================
bin/rebuilder_stats.py
=====================================
@@ -90,7 +90,7 @@ def main() -> None:
         "</head><body>"
         f"<header><h1>https://{arch}.reproduce.debian.net/ stats</h1></header> <main>"
     )
-    print(f"Last changed: {datetime.utcnow().ctime()}")
+    print(f"Last changed: {datetime.now().replace(microsecond=0)}")
 
     print("<table> <tr> <th>error</th> <th>number of affected bad packages</th> </tr>")
     for message, packages in messages_packages.items():
@@ -113,7 +113,7 @@ def main() -> None:
         packages = sorted(packages, key=lambda pkg: package_logs.get(pkg, 0))
         print(" ".join(format_link(pkg) for pkg in packages))
 
-    print("</br></main></body></html>")
+    print("<br/></main></body></html>")
 
 
 if __name__ == "__main__":



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/7e94a7eb949c0526171a847d11dd57c0fb91a081

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/7e94a7eb949c0526171a847d11dd57c0fb91a081
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20241213/10dbee84/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list