mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] scripts/generate-report: Fix missing dot2tex import
@ 2025-05-19 11:54 Thorsten Scherer
  2025-05-25 13:38 ` Michael Olbrich
  0 siblings, 1 reply; 3+ messages in thread
From: Thorsten Scherer @ 2025-05-19 11:54 UTC (permalink / raw)
  To: ptxdist; +Cc: Thorsten Scherer, g.schenk

Removal of the global import broke license report generation.  Fix it.

  File "/usr/local/stow/ptxdist-2025.03.0/lib/ptxdist-2025.03.0/scripts/report/latex.py", line 32, in format_dot
    return (args[1]['name'], dot2tex(dot, docpreamble='\\usepackage[xetex]{hyperref}', figonly=True,
                             ^^^^^^^
NameError: name 'dot2tex' is not defined

Fixes: e27adde6e54d ("generate-report: remove global dot2tex import")
Signed-off-by: Thorsten Scherer <t.scherer@eckelmann.de>
---
 scripts/report/latex.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/report/latex.py b/scripts/report/latex.py
index cdb564a41eab..71344f988d4f 100644
--- a/scripts/report/latex.py
+++ b/scripts/report/latex.py
@@ -10,6 +10,7 @@ from multiprocessing import Pool
 from os import path, environ
 import hashlib
 import subprocess
+from dot2tex import dot2tex
 
 from report.report import find_file, ReportException
 from report.generator import Generator
-- 
2.47.2




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-05-26  6:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-19 11:54 [ptxdist] [PATCH] scripts/generate-report: Fix missing dot2tex import Thorsten Scherer
2025-05-25 13:38 ` Michael Olbrich
2025-05-26  6:42   ` Thorsten Scherer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox