forked from M-Labs/artiq
Fix typo.
This commit is contained in:
parent
6383253e03
commit
7f9a180946
|
@ -19,7 +19,7 @@ from artiq.coredevice import exceptions
|
||||||
def _render_diagnostic(diagnostic, colored):
|
def _render_diagnostic(diagnostic, colored):
|
||||||
def shorten_path(path):
|
def shorten_path(path):
|
||||||
return path.replace(artiq_dir, "<artiq>")
|
return path.replace(artiq_dir, "<artiq>")
|
||||||
lines = [shorten_path(path) for path in diagnostic.render(colored)]
|
lines = [shorten_path(path) for path in diagnostic.render(colored=colored)]
|
||||||
return "\n".join(lines)
|
return "\n".join(lines)
|
||||||
|
|
||||||
class _DiagnosticEngine(diagnostic.Engine):
|
class _DiagnosticEngine(diagnostic.Engine):
|
||||||
|
|
Loading…
Reference in New Issue