changeset 269:583baab8ca05 default tip

don't use print. Working
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Tue, 04 Feb 2025 11:17:13 +0000
parents 99d30d0fefa8
children
files lib/python/cc/lmh/get2.pyx
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lib/python/cc/lmh/get2.pyx	Tue Feb 04 11:16:12 2025 +0000
+++ b/lib/python/cc/lmh/get2.pyx	Tue Feb 04 11:17:13 2025 +0000
@@ -31,7 +31,7 @@
         o=c.pos()
         l=c.len()
         sys.stdout.buffer.write(mvs[i][o:o+l])
-        sys.stdout.buffer.write(b'\n')
       else:
-        print('missing')
+        sys.stdout.buffer.write(b'missing')
+      sys.stdout.buffer.write(b'\n')